]> git.phdru.name Git - dotfiles.git/commitdiff
bin: Make `wget-m` symlink to `wget-mirror`
authorOleg Broytman <phd@phdru.name>
Tue, 9 May 2023 12:19:47 +0000 (15:19 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 9 May 2023 12:19:47 +0000 (15:19 +0300)
bin/wget-m [changed from file to symlink]
bin/wget-mirror [new file with mode: 0755]

deleted file mode 100755 (executable)
index 441ea40fe5146476bbecb135b39d64d9ebbb7d06..0000000000000000000000000000000000000000
+++ /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)
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..2583cb083f5eeec6bd35ff3d56ccf34d32876f54
--- /dev/null
@@ -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 (executable)
index 0000000..441ea40
--- /dev/null
@@ -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)