How to unzip my iTunes Library backup?
August 17, 2008 10:43 AM Subscribe
OS X filter: How can I recursively unzip files (in directories that are not zipped)?
posted by wheat to computers & internet (6 answers total) 1 user marked this as a favorite
One of my hard drives died, and took my iTunes Library with it (thanks, LaCie). Luckily, I have a backup (made with SyncBack while I was still on WinXP). I had zip-compression enabled in my backups, on a file-by-file basis. So what I'm left with is an iTunes library of uncompressed folders that contains individual mp3 files that are compressed (.zip, not .gzip). And, yeah, I know, compressing files that are already compressed is stupid, but it seemed like a good idea at the time.
I'm on OS X now, and I want to uncompress all of these and then drop them into iTunes. "gunzip -r *" doesn't work because they're in .zip (rather than .gzip). "unzip -r *" doesn't work because the directories are not also zipped.
Can anyone help me with a little shell script magic to traverse these directories and unzip everything? Or is there some other unzip utility out there that can handle this easily?