On Monday 28 January 2008 16:57:26 Hari Kurup wrote:
> Patrick Okui wrote:
> > The last time I tried something similar (4 years ago) it works pretty
> > well with one limitation. Bash (and other shells) won't take more than
> > 256 (i think) arguments so you'd have to find . -type f -exec rm '{}'
> > ';' or similar.
> >
> > That would work but I'm not sure how long it would actually take.
>
> I think piping it through xargs would be faster? This one calls 'rm' for
> every single file.
>

I usually just use:

find . -type f -delete

- Martin -
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to