Re: Fetch Mode Question

Joe Orton <[email protected]>
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
Hi Jonathan,

On Sat, Feb 05, 2005 at 10:11:58PM +0000, Jonathan wrote:
> I'm sure this is an easy one, but the man page leaves me a bit unsure.
> 
> If I run sitecopy in fetch mode, then run it in synchronize mode, I take 
> it that it will only download those files that are newer or different to 
> the local site (by either date or checksum) - is that right?

Not by date, only by size, or if you use "state checksum", purely by
checksum.  sitecopy won't compare the dates because the modification
times of the *remote* files are not kept in synch with the local files.

> I ask because I have a slightly out of data local copy of my site with 
> both newer and older files on it. I assume the synchronize operation 
> will, er, synchronize it?

In theory, yes, fetch/synch are not the best tested features though. 
After running the "sitecopy --fetch yoursite" just running the command
"sitecopy yoursite" will show you what files sitecopy thinks are out of
date.  Take a backup of your ~/.sitecopy/yoursite statefile to undo the
results of the --fetch operation.

Regards,

joe

_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.