When I do rsync -av --backup --backup-dir=/dir1/dir2/Backup \ /dir1/dir2/dir3 machine:/dir1/dir2/dir3
I get /dir1/dir2/Backup/dir3/... /Backup/dir3/dir4/... i.e. the tree under 'dir3' (my source tree) gets created under .../Backup. This is fine. But when I do the same thing with a single file like rsync -av --backup --backup-dir=/dir1/dir2/Backup \ /dir1/dir2/file machine:/dir1/dir2/file I see that I get /dir1/dir2/Backup/dir1/dir2/file instead of /dir1/dir2/Backup/file In the latter case, why is the entire tree (from root) recreated in the backup-dir instead of the simply the last component like in the former case? Am I making sense? I hope so. Why the inconsistency? Any way around it? Thanks -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html