I'd like to mirror a site with large, updating database dumps. I don't entirely understand the -N
and -c
options and how they combine after reading the wget
man page.
Is there a way to download a file, preferably with wget, so that:
- if the server's timestamp is newer than the local one, the download replaces the local file
- if the server's timestamp is the same as the local one, but the remote size is larger, wget continues the download
I happen to know the server supports sending modification times.