Re: recursive file deletion

2000-03-13 Thread Paul Kallstrom
On 13-Mar-2000 Bruce Stephens wrote: > find . -name '*.bak' -print0 | xargs -0 rm > > Please check the documentation for find and xargs to make sure you > understand what the above does! > Absolutely; I don't believe in magic. Knowing how things work is more important to me than just knowing

Re: recursive file deletion

2000-03-13 Thread Bruce Stephens
Paul Kallstrom <[EMAIL PROTECTED]> writes: > Is there an easy way to recursively remove files with specific extensions? I > need to go through several ncpmounts and recursively remove all *.bak files. > Thanks! find . -name '*.bak' -print0 | xargs -0 rm Please check the documentation for find an

Re: recursive file deletion

2000-03-13 Thread Paul Kallstrom
On 13-Mar-2000 Gary Hennigan wrote: > I generally use something like: > find . -name '*.bak' -print|xargs rm -f > > for tasks like this. > > Gary > It seems that there are several ways to skin this cat. Thanks! Paul > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < > /dev/

Re: recursive file deletion

2000-03-13 Thread Gary Hennigan
Paul Kallstrom <[EMAIL PROTECTED]> writes: > Is there an easy way to recursively remove files with specific extensions? I > need to go through several ncpmounts and recursively remove all *.bak files. > Thanks! I generally use something like: find . -name '*.bak' -print|xargs rm -f for tasks lik

recursive file deletion

2000-03-13 Thread Paul Kallstrom
Is there an easy way to recursively remove files with specific extensions? I need to go through several ncpmounts and recursively remove all *.bak files. Thanks! Paul -- -- E-Mail: Paul Kallstrom <[EMAIL PROTECTED]> Date: 13-Mar-2000 Time: 16:07:40 Debian/GNU Lin