Skip to content

Instantly share code, notes, and snippets.

@leshy
Created May 8, 2016 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leshy/7e6aacb7336e7a92282f0084f75ada06 to your computer and use it in GitHub Desktop.
Save leshy/7e6aacb7336e7a92282f0084f75ada06 to your computer and use it in GitHub Desktop.
#!/bin/bash
# downloads all mp3 jwz mixtapes (1-75)
for i in `seq -f "%03g" 1 75`;
do
URL="https://archive.org/compress/jwz-mixtape-$i/formats=VBR%20MP3&file=/jwz-mixtape-$i.zip"
echo $URL
wget -c $URL
done
for z in *.zip
do
folder=$(basename $z .zip)
mkdir $folder
unzip -o $z -d $folder
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment