Ubuntu – How to stop Album Art files from showing in a folder with songs

mp3nautilus

How can I stop showing me those selected file from songs folder?

folder

Best Answer

You can use the find utility to delete album covers in our music folders:

find /music_path -type f -name "*.jpg" -exec rm -f {} \;

Now to remove the "desktop.ini" and "Thumbs.db" files use:

find /music_path -type f -name "desktop.ini" -exec rm -f {} \;
find /music_path -type f -name "Thumbs.db" -exec rm -f {} \;

Tip:

You could use the even shorter version:

find /music_path -type f -name "*.jpg" -delete

find /music_path -type f -name "desktop.ini" -delete
find /music_path -type f -name "Thumbs.db" -delete

If you want also to remove the images tagged in the audio mp3 files you can use the eyeD3 application. Install it:

sudo apt-get install eyed3

Now you can remove those images:

eyeD3 --remove-images *.mp3

Take a look on man eyeD3

NAME
       eyeD3 - displays and manipulates id3-tags on mp3 files

       --remove-images
              Remove all image (APIC) frames from the tag.