Depuis un moment je n'utilise plus trop wget mais httrack pour archiver des sites en HTML statique.
Un petit script tout en un. Commencer par créer le répertoire et s'y rendre puis:
echo "Archiver un site" echo "Entrer l'url du site" read url httrack -I0 --sockets=2 --keep-alive --cookies=0 -n -N4 -%P $url echo "Finished!"
httrack http://LOCAL_URI -O . -N "%h%p/%n/index%[page].%t" -cWqQ%v --robots=0
puis
find . -name "*.html" -type f -print0 | xargs -0 perl -i -pe "s/\/index.html/\//g"
source: cet excellent article sur un archivage drupal, https://www.lullabot.com/articles/sending-a-drupal-site-into-retirement