flac2mp3.pl

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

flac2mp3.pl Mon Aug 15, 2011 3:47 am • by mpa15
Hi All,

I would like Hazel to automatically convert flac files to mp3. I found this tool, and have got it working now - http://projects.robinbowes.com/flac2mp3/trac

This may be a stupid question, but I am not too familiar with shell scripting: It seems the flac2mp3.pl script will only work on folders - not individual flac files. I was wondering how I could refer to the container of the file (i.e. path to $1). Is this possible?

Thanks in advance,

M
mpa15
 
Posts: 13
Joined: Wed May 11, 2011 1:24 am

Re: flac2mp3.pl Mon Aug 15, 2011 3:35 pm • by Mr_Noodle
You probably would want to use the 'dirname' command (do 'man dirname' in a Terminal window).
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support