Score:0

rsync finding too many different files

ua flag

I am trying to recursively list the files

  • not present on the target
  • present on both sides but differing in content

between a local and a remote (SSH) directory using rsync:

rsync -rvcn local-directory/ remote-user@remote-machine:remote-directory/

However, rsync prints a long list of files although only a few have actually changed. That is, some of the files from this list exist with identical checksums on both sides. This should not be the case for my understanding of the command.

How can I make rsync print (or without -n, sync) actually different files only (ignoring any attributes like modification time, permissions)?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.