Got a strange problem. We have a directory with hundreds of huge log files, and I have to transfer them to a new server.
First I did : rsync -zavh /foo/bar/logs 10.10.10.10:/
Worked well, took an eternity. Now 2 days after, I'm trying to update. I know there's only 20 new files. So I do rsync --dry-run -zavh /foo/bar/logs 10.10.10.10:/ first. It says it's sending incremental file list, but then try to recopied the WHOLE directory again with the new 20 files.
I've checked and the older files have the same date stamp and size.
Why rsync is not just transfering the 20 or so files that are newer ?
-iflag to your run and add some of the output to your question. It will show the reason that a file is selected for copying.