1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-24 02:52:06 +01:00

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

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"