Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'faster way to rm using find and xargs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
faster way to rm using find and xargs
Authored by: torkel on Nov 18, '02 05:28:32PM
1) Dry run to see what find finds: find . -name '._*' | more
2) Remove the files: find . -name '._*' | xargs rm
Faster, especially for a large number of files, since xargs starts only one process, whereas -exec starts a new rm process for each file.

[ Reply to This | # ]