Hi!

I am running rsync 2.6.4 (on Debian sarge) and I am experiencing a
strange behaviour.

I am trying to create an identical filetree on the same filesystems with
the single files being hardlinks to the source like this:

rsync -vaH --progress --delete --stats --numeric-ids -x 
--link-dest=/path/to/filetree/ /path/to/filetree/ /path/to/current/

/path/to is one filesystem. This creates hardlinks for the files in
/path/to/filetree/ in /path/to/current/

When calling rsync with relative paths like this:

cd /path/to; rsync -vaH --progress --delete --stats --numeric-ids -x 
--link-dest=./filetree/ ./filetree/ ./current/

rsync does not create hardlinks but copies the files instead.

Is this intentional behaviour?

Greetings
-- 
Robert Sander
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to