Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to convert a WAV or AIFF to MP3 with a right click in Finder.

Not seeing any actions in automator I could use. I don't want to add it to iTunes to do it (and also duplicate it). I downloaded lame, but seem to have no clue how to install it - command not found when I type it while in the directory.

share|improve this question
up vote 3 down vote accepted

Sam, you have to place lame in a folder of your choice. /Users/Sam/lame , for instance.

Then you need to make lame executable. Go into /Users/Sam/ on your Terminal, and type chmod +x lame

Now you can close your terminal, and return back to your Automator script.

select "Run Shell Script".

If you intend to use your Automator script for multiple files, instead of one single file, type this:

for f in "$@"
do
/Users/sam/lame -b 320 -h  "$f"
done

This will start LAME and start encoding your MP3 at the 320kbps bitrate.

share|improve this answer
    
Easiest thing for me has just been to create a compressor droplet which does the same thing when I drag files onto it. Thanks for the info though. – Sam Nov 17 '11 at 15:24

See http://apple.stackexchange.com/questions/4092/run-command-line-script-from-finders-contextual-menu

Replace the exif command with the lame command, based on the man page.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .