Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,

When I was running "make fetch", I found myself wanting to know the progress
of the downloads, as my internet is by no means instantaneous. So, I found
how to make wget display a nice progress bar. Could this be added to master?

Kind regards,

Luke.
diff --git a/download b/download
index 0af6751..2c1846b 100755
--- a/download
+++ b/download
@@ -129,7 +129,7 @@ downloaditem()
         if [ ! -f "../$2" ]; then
             echo $2
             if [ ! -z "$wget" ]; then
-                $wget -nv -N $1/$2 2>&1 | tee -a $logfile
+                $wget --progress=bar:force -N $1/$2 2>&1 | tee -a $logfile
             else
                 echo fetching $2
                 $curl $file_date_check -O $1/$2 2>&1 | tee -a $logfile

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.