Wednesday, April 30, 2008

Delete everything listed in the output of find

I find this very useful. It deletes all of the files output from the find command. Be careful to check your find expression is correct first!

find -name .banshee-dap*.mp3 -exec rm -f "{}" \;


No comments: