Re: wget


Subject: Re: wget
From: Justin Dieters (enderak@gci.net)
Date: Thu Jan 23 2003 - 12:35:01 AKST


-N should only download the file if the remote file has a newer
timestamp than the local one. Maybe the -nc switch does more of what
you were looking for...

Cut and paste from man pages.. I think the last few lines are helpful to
clarify what is actually going on with this switch...

-----

-nc
--no-clobber
If a file is downloaded more than once in the same directory, Wget's
behavior depends on a few options, including -nc. In certain cases, the
local file will be clobbered, or overwritten, upon repeated download.
In other cases it will be preserved.

When running Wget without -N, -nc, or -r, downloading the same file in
the same directory will result in the original copy of file being
preserved and the second copy being named file.1. If that file is
downloaded yet again, the third copy will be named file.2, andso on.
When -nc is specified, this behavior is suppressed, and Wget will refuse
to down-load newer copies of file. Therefore, ``"no-clobber"'' is
actually a misnomer in this mode---it's not clobbering that's prevented
(as the numeric suffixes were already pre-venting clobbering), but
rather the multiple version saving that's prevented.

-----

Regards,
Justin

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Thu Jan 23 2003 - 12:30:20 AKST