[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: recursive file deletion



Paul Kallstrom <paul@softracamerica.com> 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 and xargs to make sure you
understand what the above does!


Reply to: