[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash vs. python scripts - which one is better?



>>>>> "Jeff" == Jeff D <fixedored@gmail.com> writes:

    > You would still have rename the file extention:

    > for FILE in *wav ; do lame -h -b 160 "$FILE" "`echo $FILE
    > |sed s/.wav/.mp3/g ` " ; done

Or just use the shell itself: 

  for FILE in *wav ; do lame -h -b 160 \"$FILE\" \"${FILE%.*}.mp3\"; done

Mike



Reply to: