[plug] Argument list too long

Brad Campbell brad at seme.com.au
Tue Jun 17 14:24:01 WST 2003


Brad Campbell wrote:
> Russell Steicke wrote:
> 

>>   $ find . -type f -maxdepth 1 -print0 | xargs -0 rm -f
> 
> 
> Thanks guys.
> I knew I had to use xargs somehow but I'm in brainfade mode and the man 
> page was not making any sense.
> 
> Cheers for the enlightenment :p)
> 

After some playing I found the simplest form to be
ls | xargs rm

I now understand xargs.

Thanks again..

-- 
Brad....
  /"\
  \ /     ASCII RIBBON CAMPAIGN
   X      AGAINST HTML MAIL
  / \



More information about the plug mailing list