I've got a big directory (c:\foo) I'm trying to sync with a copy on a remote server (r:\foo). I could just do

robocopy c:\foo r:\foo /s

But that would take a long time, because c:\foo has so many files; comparing them with r:\foo over the network would be slow. But I know most of the files are already on r. So I thought I'd speed it up by only copying new files:

robocopy c:\foo r:\foo /s /maxage:10

That should save me from having to do file compares for all the old files -- much quicker, right? Wrong: it takes just as long. Weird. So copied the new files locally, then to the remote server:

robocopy c:\foo c:\foo_recent /s /maxage:10
robocopy c:\foo_recent r:\foo /s

That was nice and fast. Any idea why the MAXAGE filter doesn't reduce network traffic, and so increase speed?

link|improve this question

40% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.