Possibly better served by an awk script and a more detailed tracks file, but it's a nice quick and dirty solution.
Also scraping the tracks file from wikipedia or elsewhere would be cool too.
setxkbmap -option compose:rwin |
0 - Blues | |
1 - Classic Rock | |
2 - Country | |
3 - Dance | |
4 - Disco | |
5 - Funk | |
6 - Grunge | |
7 - Hip-Hop | |
8 - Jazz | |
9 - Metal |
Possibly better served by an awk script and a more detailed tracks file, but it's a nice quick and dirty solution.
Also scraping the tracks file from wikipedia or elsewhere would be cool too.
for i in * | |
do | |
id3v2 -a "$artist" -A "$album" -t "${i%%.mp3}" "$i" | |
done |
mv The Alchemist - Part 10.mp3 The Alchemist - Part 10.mp3 | |
mv The Alchemist - Part 11.mp3 The Alchemist - Part 11.mp3 | |
mv The Alchemist - Part 12.mp3 The Alchemist - Part 12.mp3 | |
mv The Alchemist - Part 13.mp3 The Alchemist - Part 13.mp3 | |
mv The Alchemist - Part 14.mp3 The Alchemist - Part 14.mp3 | |
mv The Alchemist - Part 15.mp3 The Alchemist - Part 15.mp3 | |
mv The Alchemist - Part 16.mp3 The Alchemist - Part 16.mp3 | |
mv The Alchemist - Part 17.mp3 The Alchemist - Part 17.mp3 | |
mv The Alchemist - Part 18.mp3 The Alchemist - Part 18.mp3 | |
mv The Alchemist - Part 19.mp3 The Alchemist - Part 19.mp3 |
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
==> Installing zsh dependency: gdbm | |
==> Downloading http://ftpmirror.gnu.org/gdbm/gdbm-1.10.tar.gz | |
File already downloaded in /home/adam/.homebrew/cache | |
/bin/tar xf /home/adam/.homebrew/cache/gdbm-1.10.tar.gz | |
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/gdbm/1.10 --mandir=/usr/local/Cellar/gdbm/1.10/share/man --infodir=/usr/local/Cellar/gdbm/1.10/share/info --enable-shared | |
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/gdbm/1.10 --mandir=/usr/local/Cellar/gdbm/1.10/share/man --infodir=/usr/local/Cellar/gdbm/1.10/share/info --enable-shared | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /bin/mkdir -p | |
checking for gawk... no |
java -Xms512m -Xmx1024m -cp "~/Library/Application Support/minecraft/bin/*" -Djava.library.path="bin/natives" net.minecraft.client.Minecraft "ohpenis" |
node_modules |