Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 5 down vote accepted

If it's a standard sort of tag, I believe exiftool should do the trick.

If it doesn't you'd likely need to find something else that dumps the format that audacity uses (apparently info tags).

share|improve this answer

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

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 must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .