DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Set Id3 Track Number From A Filename
sets the id3 track number from the first 2 digits of a filename
ls | perl -ne '$a=$_;chomp($a);$a=~/^(\d+)/; `id3tag -2 -t $1 \"$a\"`'




