Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I open an audio file with Audacity or Rhythmbox, for example, I can look at the metadata tags such as Artist Name, Track Title, Year, etc. . Is there a convenient way to do this on the command line under Linux?

share|improve this question
    
.wav metadata is poorly supported. I'd search for something to edit RIFF INFO if that's possible. –  Rob Apr 8 '12 at 3:14

3 Answers 3

up vote 5 down vote accepted

If its a standard sort of tag, i believe exiftool should do the trick. If it dosen't you'd likely need to find something else that dumps the format that audacity uses -- apparently info tags

share|improve this answer

Try the utility id3info for MP3 files.

share|improve this answer
    
Thanks, but this doesn't print any info for the .wav files I exported from Audacity. –  Joey Adams Apr 8 '12 at 2:59
    
OK, I thought you were talking about .mp3 files. I don't know about metadata in .wav files. –  Renan Apr 8 '12 at 3:00

You can use one of these tools:

mediainfo

Simple program outputting all the basic information from audio files.

exiftool (from package perl-image-exiftool)

This one is more customizable and supports reading and writing meta information in image, audio and video files.

mutagen-inspect (from package mutagen)

Simple frontend to the mutagen audio tagging library for Python.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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