From Wiki

Bash: Xargs

xargs

find . | grep 'your_filename_filter' | xargs rm -f
find . -type f -name "*.txt" -print|xargs rm
find . -type f -name "*.txt" -exec rm {} \; -print

Retrieved from http://kozgun.net/wiki/pmwiki.php?n=Bash.Xargs
Page last modified on March 23, 2006, at 10:20 PM