Tricky Deleting

Gary Thornock gthornock at
Wed Mar 9 07:07:18 MST 2005

--- Doran Barton <fozz at> wrote:
> So what about 'find stuff -exec rm {} \;'? 

xargs will, by default, build a command line with as many results
as it can fit.  The result is that you create the minimum number
of rm processes.

find stuff -exec rm {} \; invokes rm for each result separately.

PGP Key ID: 071B173D
Fingerprint: ED30 B048 6833 56B4 28C0 CE52 F12B 884A 071B 173D

More information about the PLUG mailing list