On 1/22/07, Tony Abernethy <[EMAIL PROTECTED]> wrote:
> cd /path/to; rsync -vaH --progress --delete --stats --numeric-ids
> -x --link-dest=./filetree/ ./filetree/ ./current/

If my understanding is right, that would attempt to link files from
./current/./filetree

You maybe want a --link-dest=../filetree

(Flames invited if I've got this wrong)

You're right.  The description of --link-dest=DIR in the man page
says, "If DIR is a relative path, it is relative to the destination
directory."  This is because the generator and receiver access the DIR
by name after changing into the destination directory.

Matt
--
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