linux:commande:shell:wget
Table des matières
Télécharger en ligne de commande
Un Paquet
wget -O Nessus-10.5.1-debian10_amd64.deb https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/19226/download?i_agree_to_tenable_license_agreement=true
Récursif
Comment télécharger des éléments à travers un ficher txt.
conjunction with the -m (mirror) or -r (recursive) options. Therefore, interpreting your example command, the command you would likely want would be e.g. wget -m -nd -A “myFile_*_*.txt” https://mylink.com/directory/ (where -nd places all the matching files in a single directory rather than e.g. /mylink.com/directory/file.txt).
Récursif 2
Télécharger des documents avec extension spécifique, depuis une URL
wget -r -l 1 -nH -nd -np --ignore-case -A '*.pdf' https://mywebsite.ddns.net/documentation/Cisco_CCNA/
Cela permet de télécharger tout les documents PDF sur la page Web.
linux/commande/shell/wget.txt · Dernière modification : de sylvain
