I recently installed Linux Mint 17 on my laptop. I had Windows 7 before, and I backed up all of my data onto an external hard drive. Windows 7 crams all of your backup data into a ton of .zip folders. Here is my problem: I only want to extract those folders that contain my music, which lie in the path C:\...\Username\Music.... So I tried to find a way to use the unzip those files from my external hard drive and into my Music directory in my home folder using the terminal. I am still learning how to use the terminal, but this is what I have found:
for file in *.zip; do unzip -c "$file" -d "/~/Music" | grep "\Username\Music"; done
It gives me the output:
caution: not extracting; -d ignored
When I remove the -d, it works, (well, seems to work: it ran for a while), but I get a weird output at the end and then this:
62;9;c62;9;c62;9;c62;9;c
I searched for the music that was supposedly unzipped but could not find it. Can anyone tell me if and how I can accomplish my goal? I'd like to unzip only my music files from my external hard drive to my Music folder.