Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    You seem to not understand what rsync does. Rsync by design only compares metadata and only of the metadata tells it that there has probably been a change in the files, it will actually do something with the file data. Commented Jul 5, 2024 at 23:16
  • 1
    You are only partially correct. rsymc can be used to compare data as well as metadata. In network usage, the default is metadata compare only whereas in local mode it i will compare data blocks. This data block comparison can be great when you have a large file to update with only small number of blocks having changed. The point though was that metadata performance may itself be a significant bottleneck. As I mentioned, rsymc and cp -u can both become metadata bound. This is why file size distribution matters so much to file system performance. Commented Jul 7, 2024 at 7:47
  • @RubenKelevra So say two files (on source and destination) have the same name, same last edit date and the same size. Rsync wouldn't copy the source file, but a situation is possible when that file was changed in such a way that the size and date remained the same? Commented Jul 29, 2024 at 12:57