[wellylug] wget syntax
Mark Signal
mark at databackup.co.nz
Thu Sep 30 11:45:08 NZST 2004
Hi
I am trying to use wget to keep some local files (not html) updated from a
webserver and I am having trouble with the syntax
basically I want wget to download any newer/non existing files from the
webserver direct into the working directory and any subdirectories.
The only way I seem to be able to get this to work is with....
wget http://websites/updates/list.txt
(gets an updated list of files to be compared - downloaded)
wget -N -c -q -nd -i list.txt -B http://website/updates/
this has several problems that I cant seem to work around.
it doesn't mirror subdirectories - if I add -r I have to take out -nd and
then it places all the downloaded files in a subdirectory starting with the
webservers url.
I have to maintain the list.txt file (I'm lazy).
I really want it to work like rsync -r but with http
any suggestions?
cheers
Mark Signal
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004
More information about the wellylug
mailing list