It is only showing it because of the -ii. Doubled -i shows every
file/dir. If it was doing something there would be more letters but it
is just porting that it found a hardlink with no difference between
source and destination.
On 2026-01-29 13:16, Brian J. Murrell via rsync wrote:
Hello.
I am using rsync with --hard-links and -ii and want to get some
clarification on what the initial 'h' in the output means.
For example:
# rsync -naiiSPAHX --link-dest=/.snapshots/daily.9/jenny/ ../daily.9/jenny/
jenny
sending incremental file list
hf home/jennifer/.gnome2/keyrings/login.keyring.temp-1009839767
I'm interpreting that to mean a hard link is being created. Is that
correct?
But if I inspect the source and destination, the hard link already
exists:
# pwd
/.snapshots/daily.8
# ls -li
../daily.{9,8}/jenny/home/jennifer/.gnome2/keyrings/login.keyring.temp-1009839767
104079794 -rw-------. 12276 jennifer jennifer 218510 May 25 2021
../daily.8/jenny/home/jennifer/.gnome2/keyrings/login.keyring.temp-1009839767
104079794 -rw-------. 12276 jennifer jennifer 218510 May 25 2021
../daily.9/jenny/home/jennifer/.gnome2/keyrings/login.keyring.temp-1009839767
So is my understanding of that:
hf home/jennifer/.gnome2/keyrings/login.keyring.temp-
1009839767
line incorrect?
Cheers,
b.
--
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