

Adding album art to ogg files from the command line January 28 th, 2014 I’m a software developer who runs Scribophile, an online writing group for serious writers, Writerfolio, an online writing portfolio service for freelancers, and Standard Ebooks, an open source project that produces liberated ebooks for the true book lover. However, This *should* work fine for mp3s anyway.Adding album art to ogg files from the command line - Alex Cabal Alex Cabal Since ogg uses a different tagging system (vorbis comment) than mp3 (id3), this might work the same on both formats.

PS: I don't have any mp3 files to test this with, so I used some ogg/vorbis files.

IDK why, but at least you can process all of your files at once. In the latter case, kid3-cli needs a delay after the commands have been piped in, too. 'set "Picture:" ""' save exit sleep 2) | kid3-cli *.mp3 done 'set "Picture:" ""' save exit) | kid3-cli $file)& done wait for file in **/*.mp3 do (: (sleep 2 printf %s If you have a whole bunch of files to process, perhaps you could mitigate this by running the command on multiple files in parallel. Also, for some reason, the above command doesn't work unless there is a delay. For this reason, commands are expected to be typed interactively. 'set "Picture:" ""' save exit) | kid3-cli $file doneĪlthough it is a cli program, kid3-cli is meant to be used interactively. I'd never used it to remove Album Arts before seeing this question, but I think I've figured out how: for file in **/*.mp3 do (sleep 2 printf %s You can install kid-cli, which can be used to change metadata tags from the CLI. This has the additional advantage of not removing all the metadata in the song, only stripping the “video” which in this case is the album cover art. Output filename will look like "10Cc-Look-Hear-Dressed To Kill.mp3”.

for song in **/*.mp3ĭo NAME=$(echo $ save to the path with the filename set to the NAME variable and the base name of the $song. The command that provided did not work for me on my system (mostly it did, but it generated many errors and that resulted in songs that were not copied). There does not appear to be a good solution, and the best that I came up with was using ffmpeg to quickly create a new file.
