I stand corrected!

--
Espi




On Tue, May 22, 2012 at 8:49 AM, Ben Scott <mailvor...@gmail.com> wrote:

> On Tue, May 22, 2012 at 11:39 AM, Micheal Espinola Jr
> <michealespin...@gmail.com> wrote:
> >> I believe the default rule is to copy any files which appear
> >> different or absent in the destination.  Files which are older are
> >> still "different".
> >
> > I thought I have only seen older file's copies when I use switches such
> as
> > /IS (Include Same).
>
>   Okay, just checked, and at least for me, ROBOCOPY appears to
> consider "older" to be "different" and thus "should copy".  See
> transcript below.  /IS would copy even if the files appear to be
> identical (same size and time).
>
> Ben>mkdir from to
>
> Ben>touch from\foo
>
> Ben>sleep 10
>
> Ben>touch to\foo
>
> Ben>robocopy from to
>
>
> -------------------------------------------------------------------------------
>   ROBOCOPY     ::     Robust File Copy for Windows     ::     Version XP026
>
> -------------------------------------------------------------------------------
>
>  Started : Tue May 22 11:46:12 2012
>
>   Source : H:\foo\from\
>     Dest : H:\foo\to\
>
>    Files : *.*
>
>  Options : *.* /COPY:DAT /R:1000000 /W:30
>
>
> ------------------------------------------------------------------------------
>
>                           1    H:\foo\from\
> 100%        Older                      0        foo
>
>
> ------------------------------------------------------------------------------
>
>                Total    Copied   Skipped  Mismatch    FAILED    Extras
>     Dirs :         1         0         1         0         0         0
>    Files :         1         1         0         0         0         0
>    Bytes :         0         0         0         0         0         0
>    Times :   0:00:00   0:00:00                       0:00:00   0:00:00
>
>    Ended : Tue May 22 11:46:12 2012
>
> Ben>
>
> -- Ben
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to