I'm currently using a script to backup files on my computer.
In a nutshell, it works like this:
rsync --link-dest=$FOLDER/current $SOURCE $DESTINATION
However, I think that my script may be duplicating some files rather than hard linking them. I would like to verify which files are (or aren't) detected as duplicates. I know that the file has been hardlinked correctly of the two files share the same inode.
How can I do a diff of two folders by inodes?