[vorbis] Newbie here/batch encoding
Jernej Simonèiè
jernej.simoncic at guest.arnes.si
Mon Aug 20 10:21:56 PDT 2001
Hello Joe,
20. avgust 2001, 18:54:37, you wrote:
> Sorry to be so dense, Jernej. Would you mind dumbing this down for me a bit?
> I don't understand what %f is.
Just enter the text just as it's displayed.
Anyway, the explanation:
for %f in (*.wav) do oggenc [options] %f
^^^^^^^^^^^^^^^^^^^^
This command will run everything that follows for each file matching
the criteria. %f will be replaced with filename.
So, for example if you have these files in directory:
file1.wav
file2.wav
file3.wav
ogg1.ogg
oggenc.exe
and you run
for %f in (*.wav) do oggenc -b160 %f
these commands will be run:
oggenc -b160 file1.wav
oggenc -b160 file2.wav
oggenc -b160 file3.wav
BTW: I incorrectly put (*.ogg) in the previous mail. It should be
(*.wav), as shown here.
--
Jernej Simoncic, jernej.simoncic at guest.arnes.si
http://www2.arnes.si/~sopjsimo/
ICQ: 26266467
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list