Over a million developers have joined DZone.

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\"`'
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}