Hi Micah and folks. Thanks for taking over Wget. Is there a way to make Wget delete a file before it clobbers it ?
That would be useful to make archived mirrors of a web site : mkdir 2009-01-01 wget -P 2009-01-01 -m http://fubar.com/ The next day : mkdir 2009-01-02 find 2009-01-01 | cpio -pdl 2009-01-02 wget -P 2009-01-02 -m --unlink http://fubar.com/ At that point, 2009-01-01/ and 2009-01-02/ are mirrors of what the site looked like on the same day. All files under 2009-01-02/ that haven't changed since the previous day are hard links to their counterpart under 2009-01-01/. -- André Majorel <URL:http://www.teaser.fr/~amajorel/>
