Help - Search - Members - Calendar
Full Version: AACGain on OS X: Need Terminal help
Hydrogenaudio Forums > Lossy Audio Compression > AAC > AAC - General
jimcooper
I converted some aiff files I added to iTunes and converted them to AAC. When I tried to "gain" them using the command-line [in Terminal] aacgain -r -k *.m4a I get the error that says " Can't open *.m4a for reading". The binary and the files are in the same directory. The m4a files are unprotected. What am I doing wrong?
krmathis
I dont know for sure, but maybe aacgain dont accept wildcards ( * )?
Call the real filename instead.
jimcooper
I called it by the filename also before [thinking--same as you--that it won't accept wildcards] but I get the same error. All the files have the right priveleges, i.e., I can read and write to them. There's got to be a simple unix solution to this one.
Tarod
QUOTE(jimcooper @ Nov 13 2005, 03:24 PM)
I converted some aiff files I added to iTunes and converted them to AAC. When I tried to "gain" them using the command-line [in Terminal] aacgain -r -k *.m4a I get the error that says " Can't open *.m4a for reading". The binary and the files are in the same directory. The m4a files are unprotected. What am I doing wrong?
*



Let's suppose that your filenames have spaces so you've to escape those spaces using \.

CODE
aacgain -r -k 01\ My\ Music.m4a


I hope it helps.

Cheers.
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-2008 Invision Power Services, Inc.