Tags
Performing action on lots of files Review
0 0
Review of Performing action on lots of files powered by the Slant community.
find . -name '*.temp' -print0 | xargs -0 rm -i
This will delete all files in and below the current directory matching the pattern '*.temp'. (Be careful using this!) You can obviously change the rm command to anything you like.