I have a 320GB external hard drive that has a whole bunch of files I want to get rid of. Now, I know I can find these files in the terminal, like so:
Each file contains the same word somewhere in the file name, so that command works.Code:sudo find /media/MyBook/ -name *filename*
What I want to know is, how can I use the results of that "find" command and feed it into the "rm" command to delete all those files for me?
Any help would be greatly appreciated.