Help - Search - Members - Calendar
Full Version: Converting all files in a directory with Linux...
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
Differenciam
RIght now, I use
CODE
mac "filename.ape" "filename.wav" -d
to convert Monkey's Audio files to WAVs for burning in Linux.

Some of the stuff I have doesn't have a CUE file, it's just seperate APEs. Is there a way to convert all the .ape files in a directory to WAVs? This simple piece of info I can't find anywhere. sad.gif unsure.gif
dev0
mac *.ape *.wav -d

?
mykhal
dev0: funny smile.gif

this one should work:

for i in *.ape; do mac "$i" "$(echo $i | sed 's/\.ape/.wav/')" -d ; done
Differenciam
My first OS was DOS and I forgot THAT??!! ohmy.gif No GUI for a year. biggrin.gif ph34r.gif

Thanks.. the problem was I was doing mac "*.ape" "*.wav" -d, I had to kill the quotes. B)
mykhal
QUOTE (Differenciam @ Aug 7 2003, 04:12 PM)
the problem was I was doing  mac "*.ape" "*.wav" -d, I had to kill the quotes.

ohmy.gif Are you kidding?
`mac *.ape *.wav -d` really worked ??
What linux distribution do you have ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.