>You can find and delete at the same time using
>
>find /tmp -mtime +15 -print | xargs rm
>
>Tom Churchward

No need to pipe into anything, because find can run commands using exec:

        find /tmp -mtime +15 -print -exec rm {} \;

MB
-- 
e-mail: [EMAIL PROTECTED]
    Bart: Hey, why is it destroying other toys?  Lisa: They must have
    programmed it to eliminate the competition.  Bart: You mean like
    Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to