Subject: Re: piping to rm?
bryan@ak.net
Date: Wed Feb 05 2003 - 06:57:01 AKST
On Wed, Feb 05, 2003 at 06:50:05AM -0900, AFABCO <lee@afabco.com> wrote:
>
> I'm wanting to go thru and delete all my mp3's avi's, mpg's, etc...
>
> find . -iname *.mp3 | rm doesn't work...
>
> find . -iname *.mp3 | rm - does'nt work either....
Either
find . -iname *.mp3 -exec rm {} \;
or
find . -iname *.mp3 |xargs rm
should work.
-- Bryan Medsker bryan@ak.net--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.
This archive was generated by hypermail 2a23 : Wed Feb 05 2003 - 06:58:00 AKST