rsync --link-dest, --delete and hard-link count

Matt McCutchen matt at mattmccutchen.net
Mon Feb 8 10:14:49 MST 2010


On Mon, 2010-02-08 at 09:30 -0500, grarpamp wrote:
> > cp -al, rsync
> 
> Various source changes would likely change some metadata in the old
> sets.

Yep.  See my request for a --no-tweak-hlinked option to avoid such
attribute tweaking issues:

https://bugzilla.samba.org/show_bug.cgi?id=4561

> And it doesn't handle those pesky multiple link-dests.

Presumably you would want to itemize with respect to only one of the
link-dest dirs, so the issue is just that files linked into the
destination by "cp -al" will be considered definitive when a file from
one of the other link-dest dirs would match.  I have an enhancement
request that would address that, too, but I doubt it will be implemented
in its current form:

https://bugzilla.samba.org/show_bug.cgi?id=5644

-- 
Matt



More information about the rsync mailing list