Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Set Id3 Track Number From A Filename

DZone's Guide to

Set Id3 Track Number From A Filename

·
Free Resource
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:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}