Re: [netatalk-admins] Question about Mac Executables


Subject: Re: [netatalk-admins] Question about Mac Executables
From: Edan Idzerda (edan@mtu.edu)
Date: Tue Feb 24 1998 - 00:24:46 EST


On Tue, 24 Feb 1998 jon@colossus.cs.wits.ac.za wrote:

> recursively scan the folders with find, and use the -exec rm option. also
> bear in mind that desk accessories and control panels count as well
> ('dfil' and 'cdev').

Even better, and slightly lesser known is to use xargs.

% find . -name evil.executables -print | xargs rm

xargs takes a list of strings as input, breaks up the list into
big pieces and feeds it to the command you specify. That way you
don't waste time starting up 'rm' for every single file.

Your unix tip o' the day.

- edan



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:31:09 EST