Hi,

with the best swiss-army-knife-like tool for copying and syncing data, I do 
something like:
rsync -ax --stats -x --exclude tmp --exclude .Trash-* --exclude cache2 
--link-dest=/home/.shadow/dest/260901.1319.hourly . /home/.shadow
/dest/260901.1427.hourly
to create copies within the same FS with hard-linking to last version. This 
works as expected with one exception:
Several files are NOT linked. (I found out, because I give files with a 
hard-link count of 1 a special treatment.)
The files are nothing special, plain files with simple access rights, same 
timestamp, but happen to be zero size.
Is there a reason to omit empty files from linking?

$ rsync --version
rsync  version 3.4.1  protocol version 32

Regards
Hardy

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
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