From 8b79726588eb0949154e148d25c85a0a888918a3 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 9 May 2023 15:19:47 +0300 Subject: [PATCH] bin: Make `wget-m` symlink to `wget-mirror` --- bin/wget-m | 11 +---------- bin/wget-mirror | 10 ++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) mode change 100755 => 120000 bin/wget-m create mode 100755 bin/wget-mirror diff --git a/bin/wget-m b/bin/wget-m deleted file mode 100755 index 441ea40..0000000 --- a/bin/wget-m +++ /dev/null @@ -1,10 +0,0 @@ -#! /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) diff --git a/bin/wget-m b/bin/wget-m new file mode 120000 index 0000000..2583cb0 --- /dev/null +++ b/bin/wget-m @@ -0,0 +1 @@ +wget-mirror \ No newline at end of file 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) -- 2.39.5