rsync in conjunction with the --link-dest option does not output deleted files
Wayne Davison
wayned at samba.org
Sat Jan 19 10:29:17 MST 2013
On Tue, Jan 8, 2013 at 4:40 AM, Matthias Schniedermeyer <ms at citd.de> wrote:
> The alternativ (if possible) is to doing the link separatly and then rsync,
> instead of letting rsync doing the linking.
> The end-result is identical
No, it's not identical in one aspect -- file attribute changes to files
with identical content will change the attributes (permission, etc.) onto
the older, hard-linked versions. Rsync's link-dest mode into a new
directory creates a new version of a file if it needs to give it different
attributes. A pre-existing hard-linked copy of the files causes rsync to
just change the attributes on the file in-place (without breaking the
hard-link). This can be a minor point for some people (if historical
permissions/ACLs/xattrs don't need to be accurate), but could be a deal
breaker for some.
..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20130119/73c78843/attachment.html>
More information about the rsync
mailing list