#!/bin/bash
for a in *.flac; do
ARTIST=`metaflac "$a" --show-tag=ARTIST | sed s/.*=//g`
TITLE=`metaflac "$a" --show-tag=TITLE | sed s/.*=//g`
TRACKNUMBER=`metaflac "$a" --show-tag=TRACKNUMBER | sed s/.*=//g`
mv "$a" "`printf %02g $TRACKNUMBER` - $ARTIST - $TITLE.flac"
done
(Also see the post on converting flac to mp3s)
8 comments:
Thanks for this, helped me solve a problem.
thanks, i searched for it.
Thanks! I was searching for such a script. Did the trick.
Thank you very much, saved me much work!
Thanks!
thanks was building one in perl. but this worked so well.
system($tagrename);
thx a ton
Hi will this work on a Mac?
Amazing! TX
Post a Comment