track-numbers/id3tag

By Hal Canary, 2006-02-08 11:32:36 (link)
#computers-code

#!/bin/sh
## track-numbers.sh
## (C) 2006 Hal Canary
## DTPD
for NUMBER in $(seq -w 1 99); do
    if (/bin/ls *${NUMBER}* &> /dev/null); then
        id3tag -t ${NUMBER} *${NUMBER}*
    fi
done

(back)