Skip to content

Instantly share code, notes, and snippets.

@adamvr
Created August 24, 2012 10:38
Show Gist options
  • Select an option

  • Save adamvr/3448983 to your computer and use it in GitHub Desktop.

Select an option

Save adamvr/3448983 to your computer and use it in GitHub Desktop.
Retagging mp3s based on filename
for i in *
do
id3v2 -a "$artist" -A "$album" -t "${i%%.mp3}" "$i"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment