Vorbiscomment: Difference between revisions

From XPUB & Lens-Based wiki
Line 8: Line 8:


== File to tags ==
== File to tags ==
To take the contents of a text file (in the same format as the output comment -l)... and update the tags in the audio file, use -c and -w:


  vorbiscomment -c speech01.meta -w speech01.ogg
  vorbiscomment -c speech01.meta -w speech01.ogg


 
<DANGER!>: without -w the command does the opposite, taking the current tags *from* the ogg file and rewriting the .meta file:
<DANGER!>: without -w the comment does the opposite, taking the current tags *from* the ogg file and rewriting the .meta file:

Revision as of 10:50, 2 June 2020

Write tags to a file

vorbiscomment -l speech01.ogg > speech01.meta

Same as ..

vorbiscomment -c speech01.meta speech01.ogg

File to tags

To take the contents of a text file (in the same format as the output comment -l)... and update the tags in the audio file, use -c and -w:

vorbiscomment -c speech01.meta -w speech01.ogg

<DANGER!>: without -w the command does the opposite, taking the current tags *from* the ogg file and rewriting the .meta file: