Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- IFS=$'\n'
- for INFILE in $(ls -1 MY_FILE)
- do
- baseFilename=`basename "${INFILE}" .aiff`
- outfile="${baseFilename}.mp3"
- outfile=`echo $outfile | tr -s " " "-"`
- echo "Converting \"$INFILE\" to \"$outfile\" ..."
- # now convert the CAF file to an AIF file
- afconvert -f mp4f -d aac -b 128000 "$INFILE" "$outfile"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement