X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fwget-mirror;fp=bin%2Fwget-mirror;h=441ea40fe5146476bbecb135b39d64d9ebbb7d06;hb=8b79726588eb0949154e148d25c85a0a888918a3;hp=0000000000000000000000000000000000000000;hpb=7905c1e83725d48aa0eb4623bb5b98dea3efc6cf;p=dotfiles.git diff --git a/bin/wget-mirror b/bin/wget-mirror new file mode 100755 index 0000000..441ea40 --- /dev/null +++ b/bin/wget-mirror @@ -0,0 +1,10 @@ +#! /bin/sh + +. "$HOME"/lib/config/wget + +exec wget -4 --continue -e robots=off --limit-rate="$wget_speed" \ + --mirror -nH --no-parent --page-requisites --progress=bar:noscroll \ + --proxy=off --trust-server-names --random-wait --wait=15 "$@" + +# Other useful flags are: -b (--background) --cut-dirs -E (--html-extension) +# -k (--convert-links)