[nmglug] using wget to mirror

Tim Emerick timothyemerick at yahoo.com
Fri Apr 15 17:08:27 PDT 2005


I'm using wget to mirror McAfee's antivirus ftp site for my fairly large lan.
 wget seems to be re-downloading the entire site when it performs it's mirror
operation which is twice a day.

This command copies the antivirus definition folder to my local machine whic
is then shared via samba.  The command I'm using (in a cron job) is:

wget --non-verbose --progress=dot:mega --mirror --no-host-directories
--cut-dirs=1 --directory-prefix=/shares/nai ftp://ftp.nai.com/CommonUpdater/

Here is the resulting output(edited).  Does the last line indicate the total
size of the mirror or how much was actually downloaded?

23:00:03 URL: ftp://ftp.nai.com/CommonUpdater/ [1260] ->
"/shares/nai/.listing" [1]
23:00:05 URL: ftp://ftp.nai.com/CommonUpdater/44544455.upd [140503] ->
"/shares/nai/44544455.upd" [1]
23:00:07 URL: ftp://ftp.nai.com/CommonUpdater/44554456.upd [136746] ->
"/shares/nai/44554456.upd" [1]

~~~~~~~  snipped for your comfort ~~~~~~~

23:08:39 URL:
ftp://ftp.nai.com/CommonUpdater/Current/VSCANENG1000/Engine/0000/Replica.log
[321] -> "/shares/nai/Current/VSCANENG1000/Engine/0000/Replica.log" [1]

FINISHED --23:08:39--
Downloaded: 34,082,347 bytes in 230 files



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/




More information about the nmglug mailing list