I'm looking for a command that behaves both like
in only creating hard links rather than copying file contents, and
rsync -a --delete
in removing files from the destination that are not present in the source. I've looked into
rsync options related to hard links, but they don't seem able to only create hard links.
Does such a command exist on Linux?