There's more than one way to do things | |
PerlMonks |
Re: Will checking last modified date take more time than just overwriting?by stefbv (Curate) |
on Aug 19, 2013 at 05:56 UTC ( [id://1049971]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|