[Flac] FLAC: sending output to file
Rippit the Ogg Frog
rippit at oggfrog.com
Wed Apr 18 11:34:26 PDT 2007
> sorry, I replyed to quickly that it fully worked, but it's not fully
> working, only the output of the last file is saved to the outputfile.
> So only the output of the last file in the directory is saved to the
> outputfile (I think the outputfile is overwritten every time for each file).
> Do you know how I can write the output of EACH file to the same
> outputfile? I can't figure it out how to do this. So I want to have an
> outputfile that has all the FLAC output of each file.
try using 2>>
I don't know if this is supported on Windows, but in general ">>" means
to append to the file, while ">" means to truncate the file and start
over from scratch.
What I'm not sure of is whether it works for standard error (file
descriptor 2).
You also asked whether writing to a file will be slower that writing to
the console. I'm pretty sure it will be quite a lot faster, as it takes
quite a bit of computation to scroll a screen full of text. File I/O to
add a line of text to a file takes much less.
Rippit the Ogg Frog
rippit at oggfrog.com
http://www.oggfrog.com/
More information about the Flac
mailing list