Re: Difference in behaviour with --backup

2003-02-28 Thread va_public <[EMAIL PROTECTED]>
--- In [EMAIL PROTECTED], Bennett Todd <[EMAIL PROTECTED]> wrote: > If this isn't possible, perhaps because you want to have backup-dir > on the src side, then I think your only alternative may be to > perform your single-file copy as a recursive copy, using --exclude > and --include arguments to n

Re: Difference in behaviour with --backup

2003-02-25 Thread Bennett Todd
Cc-ing this back to the rsync list. Vikas added some more info in an off-list mail to me, that straightened things out in my mind, pointing out that if the dst file is specified on the cmdline as a simple basename, because you've cd-ed to the target dir and are doing a pull, then rsync does just as

Re: Difference in behaviour with --backup

2003-02-24 Thread va_public <[EMAIL PROTECTED]>
--- In [EMAIL PROTECTED], "va_public <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> wrote: > When I do > > rsync -av --backup --backup-dir=/dir1/dir2/Backup \ > /dir1/dir2/dir3 machine:/dir1/dir2/dir3 Sorry, yes, I did give the trailing '/' after my source dir name i.e. /dir1/dir2/dir3/ -- To unsu