save on other directory

Wayne Davison wayned at samba.org
Thu Mar 31 16:35:56 GMT 2005


On Tue, Mar 29, 2005 at 06:39:50PM +0200, Alejandro Feij?o wrote:
> AFTER (cd /BACKUP and rsync -av --compare-dest=../FULL/ CLIENT:/
> monday/)

The --compare-dest directory is relative to the destination, so since
FULL is not in the parent dir of "monday", "../FULL" is not the right
way to refer to it.  You should use --compare-dest=../../FULL instead
(or just --compare-dest=/FULL, if appropriate).

..wayne..


More information about the rsync mailing list