I want to remove all the .jpg files from my Music folder in order to save room. My Music folder contains subfolders, and I would like to know if there is a command to remove all the .jpg files from all these folders regardless of their level. Thanks for your help!
The easiest way (if you are using Ubuntu Desktop):
Go to your Music folder in Nautilus, press Ctrl+F and search for
& then delete it
You can also change the location and you can make your search more specific.
Be More specific after searching
This should do it
which will remove all .JPG files within the Music folder.
A quick and clean solution for the command line would be
I recommend running the command without
For more information on how to use