All pastes #961975 Raw Edit

Met-Art Download Script v1

public shellscript v1 · immutable
#961975 ·published 2008-03-29 11:24 UTC
rendered paste body
#! /bin/bash############################################################################## Met-Art Gallery Downloader                                                ############################################################################### This script will download a group of galleries from Met-Art.com. This     ## script will place the downloads in subdirectories that this script is     ## running in. The only necessary adjustment will be changing the gallery    ## names with the directory name from the website.                           ##                                                                           ## Note: You can add more galleries to download my copying adding URLXX=,    ## where xx is the next number accended from the last, to the next line      ## below URL12= and copy and paste the wget string to a new line below the   ## last wget string.                                                         ##                                                                           ## Requirements:                                                             ## A linux-based machine and some knowledge of the terminal.                 ## At least 200MB of diskspace per dozen (12) galleries.                     ############ Gallery Names ###################################################URL01=URL02=URL03=URL04=URL05=URL06=URL07=URL08=URL09=URL10=URL11=URL12=########### Let's Download Those Galleries ##################################wget -c -r -p -l 2 -np -nd -P $URL01 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL01wget -c -r -p -l 2 -np -nd -P $URL02 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL02wget -c -r -p -l 2 -np -nd -P $URL03 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL03wget -c -r -p -l 2 -np -nd -P $URL04 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL04wget -c -r -p -l 2 -np -nd -P $URL05 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL05wget -c -r -p -l 2 -np -nd -P $URL06 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL06wget -c -r -p -l 2 -np -nd -P $URL07 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL07wget -c -r -p -l 2 -np -nd -P $URL08 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL08wget -c -r -p -l 2 -np -nd -P $URL09 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL09wget -c -r -p -l 2 -np -nd -P $URL10 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL10wget -c -r -p -l 2 -np -nd -P $URL11 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL11wget -c -r -p -l 2 -np -nd -P $URL12 -A met-art*.jpg,cover.jpg -R *tn.jpg http://hosted.met-art.com/$URL12########### End of Script ##########echo "Thank You for Downloading. Enjoy your pics!";sleep 30exit