Raphael Kraus wrote:
G'day all...
I'm doing some man'ning to no avail here...
Is there a way to have wget (downloading via ftp) to remember what it
has successfully downloaded, and not to download the same file again -
even if the file is deleted from disk?
If not, has anyone else had to face this problem before?
wget -nc will stop it downloading an existing file in the same
directory, but to do what you're suggesting - if you then move or delete
said file you would probably need to do something clever like output to
a logfile (-o <file> initially, then -a <file> to append to the same
file), then pipe that file back in using an 'exclude' to ignore those
files. You'd probably need to wrap that in a script to get it to work
correctly though.
HTH,
Craig
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html