[plug] rm of contents

James Devenish devenish at guild.uwa.edu.au
Mon Mar 17 11:42:10 WST 2003


In message <200303171137.23553.T.Phillips at murdoch.edu.au>
on Mon, Mar 17, 2003 at 11:37:23AM +0800, Trevor Phillips wrote:
> On Sunday 16 March 2003 20:00, Cameron Patrick wrote:
> > On Sun, Mar 16, 2003 at 07:46:03PM +0800, Leon Brooks wrote:
> > | > find dir -type f -print0 | xargs -0 rm
> > |
> > | find dir -type f -exec rm -f {} \;
[...]
> The first will fail if it finds lots of files, as the command line will be too 
> long.

But that is exactly the problem that xargs avoids!?!?!?!?!




More information about the plug mailing list