Solved: Wget error “Can’t timestamp and not clobber old files at the same time.”

While trying to resume a site-mirror operation I was running through Wget, I ran into the error “Can’t timestamp and not clobber old files at the same time”. It turns out that running Wget with the -N and -nc flags set at the same time can’t happen, so if you want to resume a recursive download with noclobber you have to disable -N. The -M attribute (for mirroring) intrinsically sets the -N attribute, so you’ll have to switch from -M to -r in order to use noclobber as well.

Leave a Reply

Your email address will not be published. Required fields are marked *