wget offline site

This commit is contained in:
Matthias Kretschmann 2018-09-20 22:51:34 +02:00
parent 8b3f5a9458
commit 84392462b2
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 11 additions and 0 deletions

11
bin/offline-site.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
wget \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains "$1" \
"$1"