http://qs321.pair.com?node_id=1049971


in reply to Will checking last modified date take more time than just overwriting?

The best answer you get is by including benchmarking code in both versions.

But, i think that the time spent with checking for the modified time on files should be compensated with time gained by skipping some of the files. Copying should be more expensive than checking for the modified time.

Other options, yes: rsync.

Thanks for the cookie, a very nice day to you! :-)

Stefan