let's say that I've got a lot of files with extra RIFF chunks in the headers.
so far, I'm using SHNtool to strip out the headers, using this command:
shntool strip *.wav
This works pretty well. What it does is create a new file, the text "-stripped" appended to each file name.
However, I'd like to run it in such a way that it just writes over the previous file, instead of creating a new file.
Also, it'd be great if there was a way to automatically have it not append the "-stripped" text to each file name.
from the SHNtool documentation, it looks like these options exist, but I can't get them to work just right, which is why I'm posting here for help.
Under the Global Options, and then Output Modes, there are the following options:
-O val Overwrite existing files? val is one of: {ask, always, never}. The default is ask.
and then there are the -a and the -z options to control what string of text gets prefixed and postfixed to the output file name.
I have played around with the -a and -z options, and I see how they work. But when I try to type in -z with no string (trying to tell it to postfix no string to the filename, it doesn't work.
and the overwrite option I can't get to work at all.
Based on the available options, my guess is that its just a syntax error on my part. But then, I never was a command line type of guy.
Any help would be great.
Thanks,
Jason