What's the optimal, smart parameters to rsync to achieve fastest checking of huge folders that rarely change and have lots of small files. I'm using the following command to sync a local disk to a USB3 disk at the end of each day (having done the opposite at the start of that day) and it still takes a minute even if there were no changes -- can one do the checks faster? For example, I thought each folder has a modification time, so no need recursively go into them if /Source/A and /Target/A have the same modified time? Or is it dangerous and rsync must check each of the nested thousand little files? Other ideas? Thanks
rsync -a --delete --stats /Source/ /Target/
Number of files: 208,645 (reg: 187,331, dir: 16,910, link: 4,404)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 0
Total file size: 11,103,192,078 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 65,536
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 4,126,114
Total bytes received: 17,677
sent 4,126,114 bytes received 17,677 bytes 236,788.06 bytes/sec
total size is 11,103,192,078 speedup is 2,679.48