So these are my test files:$ ls -li live/total 2048804974 -rwxrwx--- 1 ariel ariel 1048576 Feb 22 00:45 live/file1804975 -rwxrwx--- 1 ariel ariel 1048576 Feb 22 00:47 live/file2And a first backup set:$ rsync -avix live backups/1/sending incremental file listcreated directory backups/1cd+++++++++ live/>f+++++++++ live/file1>f+++++++++ live/file2$ ls -il backups/*/live/*804981 -rwxrwx--- 1 ariel ariel 1048576 Feb 22 00:45 backups/1/live/file1804982 -rwxrwx--- 1 ariel ariel 1048576 Feb 22 00:47 backups/1/live/file2I rename file1 and see if rsync can spot the renamed file with --link-dest -fuzzy --fuzzy:$ mv live/file1 live/File1live/file1 -> live/File1$ rsync -avHii --debug=HLINK3,FUZZY2 --link-dest=../1 --fuzzy --fuzzy live backups/2sending incremental file listcreated directory backups/2fuzzy size/modtime match for ../1/live/file1fuzzy basis selected for live/File1: ../1/live/file1cd..t...... live/>f+++++++++ live/File1hf          live/file2sent 1,048,997 bytes  received 188 bytes  2,098,370.00 bytes/sectotal size is 2,097,152  speedup is 2.00$ ls -il backups/*/live/*804981 -rwxrwx--- 1 ariel ariel 1048576 Feb 22 00:45 backups/1/live/file1804982 -rwxrwx--- 2 ariel ariel 1048576 Feb 22 00:47 backups/1/live/file2805110 -rwxrwx--- 1 ariel ariel 1048576 Feb 22 00:45 backups/2/live/File1804982 -rwxrwx--- 2 ariel ariel 1048576 Feb 22 00:47 backups/2/live/file2Rsync linked file2 so the path given to --link-dest is correct, and --fuzzy --fuzzy did match file1 to File1, but it was still copied, not linked. Why?
rsync: --fuzzy doesn't detect name changes with link-dest
rsync