Re: Ignoring remote directories
Joe Orton <[email protected]>
| Newsgroups | gmane.comp.web.sitecopy |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Feb 16, 2005 at 08:48:17AM +0100, Stephan Petersen wrote: > > Hi Joe, > > thanks for your reply. > > >But what you're probably looking for is "exclude", which will exclude > >particular files or directories from being uploaded to the remote site: > > In my case, some of the remote directories which shouldn't be touched > (e.g. cgi-bin) don't even exist locally, will exclude work as expected > here too? > > If you have an existing remote site, and maybe switch from another file > transport tool, I find it very convenient to have an option that > unmistakenly says "don't ever consider touching this remote directory, > no matter what you might have locally". I think it gives you peace of > mind during the first crucial updates :-) Well, if you just start managing your site using sitecopy by doing: $ sitecopy --catchup mysite ... now make some edits to the local site... $ sitecopy --update mysite then you *never* need to worry about stuff on the remote site which doesn't exist locally. sitecopy doesn't know it exists either, so it won't delete it. The key thing is that sitecopy does *not* go and look to see what's on the remote site when you do an --update; it just looks at what has changed locally since the last time it was run. But anyway, just run "sitecopy mysite" to see what changes sitecopy will make, before running an --update, until you are confident in what it's doing. joe _______________________________________________ sitecopy maillist - [email protected] http://dav.lyra.org/mailman/listinfo/sitecopy