Created
October 13, 2022 10:06
-
-
Save FlorianLatapie/2591afa7f846e0114a050d0fe4a5173a to your computer and use it in GitHub Desktop.
Télécharger les TDs de Lippi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -e "Recherche de fichiers dans http://users.polytech.unice.fr/~lippi/cpp/td/" | |
# source : https://stackoverflow.com/a/26269730 | |
wget -q -r -np -nH --cut-dirs=3 -R *.html* http://users.polytech.unice.fr/~lippi/cpp/td/ | |
# -q : silencieux | |
# -r : récursivement | |
# -np : ne pas aller dans les répertoires du dessus | |
# -nH : ne pas sauvegarder les fichiers dans le dossier "hostname". | |
# --cut-dirs=3 : sauvegarde en omettant les 3 premiers dossiers ~lippi, cpp, td | |
# -R *.html* : exclure les fichiers .html | |
echo -e "Terminé !" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment