Tuesday 6 July 2010

sick of “ksh: /usr/bin/ls: 0403-027 The parameter list is too long.”

 

 

Running ls –l *.jdedebug.log and get “ksh: /usr/bin/ls: 0403-027 The parameter list is too long.”

use:

find . -name "*jdedebug.log" -exec ls -l {} \;

2 comments:

ram said...

Wt if I have to use scp with find or can anyone suggest the alternate for the same.

ram said...

I have to transfer no of files to another server, (sick of list too long). With find, scp not working.. :(