This question already has an answer here:

I am searching a command-line tagging tool that supports ogg- and mp3-tagging and allows to add a picture to the tags.

Currently I use lltag but that does not support pictures. dagger is the tool I use before but it is lacking picture support as well.

marked as duplicate by Pablo Bianchi, Zanna command-line May 25 at 6:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


eyed3 (Install eyed3)

This works for mp3 files. Example usage, where image_name.jpg is the filename of the image you want for the cover art of the mp3 file test.mp3:

eyeD3 --add-image=image_name.jpg:FRONT_COVER test.mp3

vorbis-tools (Install vorbis-tools)

Vorbis-tools provides the command vorbiscomment which can embed images in ogg files if they are encoded correctly. Unfortunately I can't find out exactly how one can encode an image correctly. See this superuser post.

  • eyed3 seems only to work for mp3 and not for ogg. So, this one would not help me. – ddeimeke Nov 17 '10 at 19:34
  • 1
    @ddeimeke I don't think there is any command line tool that supports both, see my updated answer. – Isaiah Nov 17 '10 at 22:29
  • Maybe that there is no tool, but this is what I am searching. The mentioned tools in my questions are doing the tagging for both file types (and even flac). I am search something similar for the pictures. Thanks a lot for your support. – ddeimeke Nov 18 '10 at 4:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.