Comment Comment by tyingq I use perl with find quite a bit...it's great for doing something with a list of files without spawning a bunch of processes via -exec.Like, for example:# delete a bunch of matching files and print the namefind . -name whatever\* -type f | perl -ne 'print;chomp;unlink' parent tyingq 10 years ago
Like, for example:
# delete a bunch of matching files and print the name
find . -name whatever\* -type f | perl -ne 'print;chomp;unlink'