[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] supressing output messages in backup script ?
From: |
Voytek Eymont |
Subject: |
[Bug-wget] supressing output messages in backup script ? |
Date: |
Sun, 18 Nov 2012 09:24:54 +1100 |
User-agent: |
SquirrelMail/1.5.2 [SVN] |
I guess this might not be really a wget question, more a general scripting
question ?
thanks for any pointers
I'm trying to use wget to 'backup' a remote win server to my host as follows;
GNU Wget 1.12
# backup bal win server
...
cd /home/bal/ftpbackup/$date1
wget -r ftp://ftp.bal.tld --ftp-user=bal --ftp-password=balpw
that works fine, but, generates lengthy log including 'progress output'
what;s the best way to reduce the log verbosity to minimum, I guess, I
mainly want the final message:
----------
FINISHED --2012-11-18 03:32:43--
Downloaded: 1724 files, 178M in 33s (5.43 MB/s)
----------
not really needed is:
----------
Length: 336067 (328K)
0K .......... .......... .......... .......... .......... 15% 1.64M 0s
50K .......... .......... .......... .......... .......... 30% 15.2M 0s
100K .......... .......... .......... .......... .......... 45% 24.5M 0s
150K .......... .......... .......... .......... .......... 60% 19.7M 0s
200K .......... .......... .......... .......... .......... 76% 25.8M 0s
250K .......... .......... .......... .......... .......... 91% 19.6M 0s
300K .......... .......... ........ 100%
19.8M=0.04s
2012-11-18 03:30:08 (7.42 MB/s) -
-----
--
Voytek
- [Bug-wget] supressing output messages in backup script ?,
Voytek Eymont <=