On 8 Sep 2006, Raphael Kraus <[EMAIL PROTECTED]> 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?
Not if it's been deleted afaik, or at least no built in to wget. However, something like this shell script might do url="$1" grep -q "$url" ~/already-seen-urls && exit 0 wget "$url" || exit 1 echo '$url" >> ~/already-seen-urls (not tested) -- Martin -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
