On Thu, Apr 24, 2014 at 02:32:31PM +0100, steve-ALUG@hst.me.uk wrote:
Does for t in {01..15}*.ogg; do twolame -b 320 "$t" "$t.mp3"; done work?
Nope.
OK, you'll have to use SED then or something else. NB, you'll have to escape any spaces, and single quotes - that's probably why the single quote attempt failed. If you have any files with ? or * in and poss some other characters, you may have to escape them too. Good luck!
Or try Martijn's approach.
Would it be possible to rename the files, then convert them, then rename them back? Try it out on one file first.