Getting the music off you iPod
I will preface this by saying that the purpose of this is NOT to pirate music!! I DO NOT condone such behaviour!
I have often wanted to copy the music off my iPod on to another computer, for instance my work machine, so I don't always have to have my iPod taking up a valuable USB port, or to restore it after I have blown away the OS. Yes I know there are a number of very good third party apps that will do this for you. In fact, if you're a Unix newb, by all means use one (iRip is excellent). But if all you want to do is copy all the music off your iPod, onto your Mac, here's how to do it!
1. Plug in your iPod.
2. Fire up either the Terminal or X11 apps.
3. From the command line, copy all the music off the iPod
cp -r /Volumes/My\ iPod/iPod_Control/Music ~/Desktop/
Once this is completed, there will be a hidden directory on your Desktop called Music, i.e. you won't be able to see it there! If you do an ls -la on the command line, you'll get:
bash-3.2$ ls -la ~/Desktop/ total 2167792 drwx------@ 10 peter staff 340 Oct 14 11:04 . drwxr-xr-x+ 18 peter staff 612 Oct 14 10:32 .. -rw-------@ 1 peter staff 6148 Oct 14 10:50 .DS_Store drwxr-xr-x@ 32 peter staff 1088 Oct 14 11:26 Music
The @ at the end of the directory permissions is an extended attribute that is hiding the directory and for that matter all the directories in it.