Skip to content

Instantly share code, notes, and snippets.

@lorey
Created Apr 20, 2016
Embed
What would you like to do?
#!/bin/bash
mkdir -p ./rs/
for semester in $(seq -f "%02g" 4 15); do
wget -O ./rs/20${semester}_SS_aufgaben.pdf --user "rs" --password "rechner.strukturen" https://capp.itec.kit.edu/teaching/rs/ss${semester}/kl/aufgaben.pdf ;
wget -O ./rs/20${semester}_WS_aufgaben.pdf --user "rs" --password "rechner.strukturen" https://capp.itec.kit.edu/teaching/rs/ws${semester}/kl/aufgaben.pdf ;
wget -O ./rs/20${semester}_SS_loesung.pdf --user "rs" --password "rechner.strukturen" https://capp.itec.kit.edu/teaching/rs/ss${semester}/kl/loesung.pdf ;
wget -O ./rs/20${semester}_WS_loesung.pdf --user "rs" --password "rechner.strukturen" https://capp.itec.kit.edu/teaching/rs/ws${semester}/kl/loesung.pdf ;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment