This script is specifically designed for reconstituting mp3s from the silly hash directories iDevices store their music in. It requires that the mp3s have working id3v2 tags, so use something like find . -name '*.mp3 -print0 | xargs -0Ixx id3v2 -C "xx" to convert them if they're in id3v1.
./extract.sh ~/music /media/IPOD/iPod_Control/Music
- AAC or anything else aren't even considered.
- Will blindly overwrite any files that share track names with the extracted file
- Doesn't prepend a track number to the output file - sucks, but it's pretty hard to fix