Formatting output of find suitable for rm
I'd like to remove all mp3-files in /mnt/foo.
I tried find -iname "*.mp3" | replace ' ' '\ ' ' | rm -f etc, but it did not work. Of course I have to replace '(' with '\(' etc and maybe remove line feeds but how should I do it, is there some easy solution?
|