Created
October 25, 2019 21:05
-
-
Save dedeibel/cf9abc7462d7e9e7dbae68ce0e545c40 to your computer and use it in GitHub Desktop.
Revisions
-
dedeibel created this gist
Oct 25, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ # delete all images and other stuff - make sure you check the filter find . -type f -not -iname "*.mp3" -delete # do some name cleaning find . -name "*MP3" -exec rename "s/(.*)\.MP3$/\$1.mp3/" "{}" \; # find new cover art sacad_r . 300 AlbumArt.jpg 2>&1 | tee /tmp/coverlog.txt # remove old embedded images eyeD3 --remove-all-images . # embed the new images as front cover find . -type d -exec bash -c "set -e ; cd '"{}"' ; eyeD3 --add-image=AlbumArt.jpg:FRONT_COVER ." \;\n easytag