Vorbiscomment: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "== Write tags to a file == vorbiscomment -l speech01.ogg > speech01.meta Same as .. vorbiscomment -c speech01.meta speech01.ogg == File to tags == vorbiscomment -c spe...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
== 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
<DANGER!>: without -w the command does the opposite, taking the current tags *from* the ogg file and rewriting the .meta file:
== Editing tags in a file ==
So altogether...
vorbiscomment -l speech01.ogg > speech01.meta
nano speech01.meta
  vorbiscomment -c speech01.meta -w speech01.ogg
  vorbiscomment -c speech01.meta -w speech01.ogg

Latest revision as of 09:52, 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:

Editing tags in a file

So altogether...

vorbiscomment -l speech01.ogg > speech01.meta
nano speech01.meta
vorbiscomment -c speech01.meta -w speech01.ogg