on Fri, Dec 19, 2003 at 10:53:35AM -0500, Derrick 'dman' Hudson ([EMAIL PROTECTED]) 
wrote:

> Another option, not yet given, is :
> 
> find . -name \*.jpg | xargs rm
> 
> 
> Read the manpages for find and xargs.  find lists all
> files/directories matching the given criteria on stdout.  xargs reads
> stdin and executes the specified command on the arguments found on
> stdin.

I'd recommend the 'print0/-0' arguments to find & xargs, respectively.


Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
    We need a miracle, it's very important.
    - Princess Bride

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to