]> git.phdru.name Git - dotfiles.git/commitdiff
wget: minor refactoring (reorder options)
authorOleg Broytman <phd@phdru.name>
Thu, 26 Nov 2015 22:53:57 +0000 (01:53 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 26 Nov 2015 22:53:57 +0000 (01:53 +0300)
bin/wget-m
bin/wget-wrapper

index e20ff8580eabe730ba1af991f3886a4e5134bbbd..441ea40fe5146476bbecb135b39d64d9ebbb7d06 100755 (executable)
@@ -2,9 +2,9 @@
 
 . "$HOME"/lib/config/wget
 
-exec wget -4 --mirror --continue -e robots=off --limit-rate="$wget_speed" \
-   --page-requisites --proxy=off -nH --no-parent --trust-server-names \
-   --wait=15 --random-wait "$@"
+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)
index 1df075a514332d9333b585874fce706102609d57..e7062cda22ada530c20af8dbaa31ad82242861ed 100755 (executable)
@@ -3,7 +3,7 @@
 . "$HOME"/lib/config/wget
 
 exec wget -4 --continue --limit-rate="$wget_speed" -N --no-directories \
-   --proxy=off --trust-server-names "$@"
+   --progress=bar:noscroll --proxy=off --trust-server-names "$@"
 
 # Other useful flags are: -b (--background) -E (--html-extension)
 # --page-requisites