Re: Stuck with include/exclude options

2005-01-10 Thread Wayne Davison
On Fri, Jan 07, 2005 at 05:25:14PM +0100, David E. Meier wrote: The directory ~data/C/test2 does not get deleted on the remote side. Which is a very good thing, because you didn't tell it to transfer test2, and rsync does not go around deleting things outside the transferred file tree. Rsync

Re: Stuck with include/exclude options

2005-01-10 Thread David E. Meier
Thanks a lot Wayne, that explains it. I changed the --delete to --delete-excluded and appended a trailing C to data. This way I get the desired behaviour. However, this leads me to the conclusion I need to run rsync separatly for any of the drives, right? Dave On Fri, Jan 07, 2005 at

Re: Stuck with include/exclude options

2005-01-10 Thread Wayne Davison
On Mon, Jan 10, 2005 at 10:28:54PM +0100, David E. Meier wrote: However, this leads me to the conclusion I need to run rsync separatly for any of the drives, right? It all depends on how the souce and destination directories match up. If the destination has a dir named C and D (in the same

Stuck with include/exclude options

2005-01-07 Thread David E. Meier
Hello list, I try to keep a list of directories/files on windows in sync with the ones on a remote machine. Basically syncing works fine, however I am stuck/confused with the various possiblities using include/exclude options. Your help is very much appreciated. Here's the scenario: Local source