Listing of mp3-tags in a row

Started by Archive, May 12, 2010, 08:54:01 AM

Previous topic - Next topic

Archive

[Originally posted by linuxuser on 2007-03-09 11:47:52-08]

If I query mp3-tags like "exiftool -q -q -s -s -s -title -artist -album". I get the result for each tag in an own row. What do I have to do, to get a result in _1_ row: "$Title delim $Artist delim $Album"?

Archive

[Originally posted by sido on 2007-03-09 12:48:45-08]

If you're doing it on a shell you could just pipe the result to tr command and change the new lines to some other delim character, e.g.:
Code:
exiftool -q -q -s -s -s -title -artist -album file.mp3 | tr '\n' '\t'

Archive

[Originally posted by exiftool on 2007-03-09 13:53:32-08]

You can use the -t option to output a tab-delimited list of tag values
on a single row.  So "-t -S -q -q" should do what you want.

- Phil