none
Robocopy clone / timestamps RRS feed

  • Question


  • Here is a small snaphot of the issue --

    These 3 files show the issue -- as noted there is a source and target file --
    they are the same file.  The digits before the filename(s) is the timestamps,
    modify, create and access times.  The only time that differs is the access time.
    When I try to clone these files with /MIR option and using the /L option to see
    what would happen, robocopy copies the source to the target, and does not state
    one of that tags like "newer" or "new file", "changed" ...etc


    source 130477653980000000 130484425700455671 130484425700455671 i:\music\primary\iso\28-may-2014\1.-BA-May-28-Bach-My-Jesus-Oh-What-Anguish.mp3
    target 130477653980000000 130484425700455671 131245743036654028 j:\music\primary\iso\28-may-2014\1.-BA-May-28-Bach-My-Jesus-Oh-What-Anguish.mp3


    source 130477654000000000 130484425702105765 130484425702105765 i:\music\primary\iso\28-may-2014\2.-BA-May-28-Markowski-City-Trees.mp3
    target 130477654000000000 130484425702105765 131245743052258708 j:\music\primary\iso\28-may-2014\2.-BA-May-28-Markowski-City-Trees.mp3


    source 130477654000000000 130484425703995874 130484425703995874 i:\music\primary\iso\28-may-2014\3.-BA-May-28-Marquez-Danzon-2.mp3
    target 130477654000000000 130484425703995874 131245743053098960 j:\music\primary\iso\28-may-2014\3.-BA-May-28-Marquez-Danzon-2.mp3

    I now run robocopy with the /copy:t switch

    -------------------------------------------------------------------------------
       ROBOCOPY     ::     Robust File Copy for Windows
    -------------------------------------------------------------------------------

      Started : Thu Jun 22 14:02:04 2017

       Source : i:\Music\primary\ISO\
         Dest : j:\music\primary\ISO\

        Files : *.*

    Exc Files : ftp.cfg
                descript.ion

     Exc Dirs : $recycle.bin
                recoverybin
                recycler
                recycle
                recycled
                system volume information

      Options : *.* /TS /FP /TEE /S /E /DCOPY:T /COPY:T /PURGE /MIR /XJ /R:1000000 /W:30

    ------------------------------------------------------------------------------

                   0        i:\Music\primary\ISO\
                   3        i:\Music\primary\ISO\28-May-2014\
                               5.6 m 2014/06/20 23:16:38    i:\Music\primary\ISO\28-May-2014\1.-BA-May-28-Bach-My-Jesus-Oh-What-Anguish.mp3
                               6.9 m 2014/06/20 23:16:40    i:\Music\primary\ISO\28-May-2014\2.-BA-May-28-Markowski-City-Trees.mp3
                              11.0 m 2014/06/20 23:16:40    i:\Music\primary\ISO\28-May-2014\3.-BA-May-28-Marquez-Danzon-2.mp3

    ------------------------------------------------------------------------------

                   Total    Copied   Skipped  Mismatch    FAILED    Extras
        Dirs :         2         0         2         0         0         0
       Files :         3         3         0         0         0         0
       Bytes :   23.62 m   23.62 m         0         0         0         0
       Times :   0:00:00   0:00:00                       0:00:00   0:00:00


       Speed :           427130465 Bytes/sec.
       Speed :           24440.601 MegaBytes/min.

       Ended : Thu Jun 22 14:02:04 2017


    The 3 files are now copied with the time stamps so that all 3 time stamps are the same


    source 130477653980000000 130484425700455671 130484425700455671 i:\music\primary\iso\28-may-2014\1.-BA-May-28-Bach-My-Jesus-Oh-What-Anguish.mp3
    target 130477653980000000 130484425700455671 130484425700455671 j:\music\primary\iso\28-may-2014\1.-BA-May-28-Bach-My-Jesus-Oh-What-Anguish.mp3


    source 130477654000000000 130484425702105765 130484425702105765 i:\music\primary\iso\28-may-2014\2.-BA-May-28-Markowski-City-Trees.mp3
    target 130477654000000000 130484425702105765 130484425702105765 j:\music\primary\iso\28-may-2014\2.-BA-May-28-Markowski-City-Trees.mp3


    source 130477654000000000 130484425703995874 130484425703995874 i:\music\primary\iso\28-may-2014\3.-BA-May-28-Marquez-Danzon-2.mp3
    target 130477654000000000 130484425703995874 130484425703995874 j:\music\primary\iso\28-may-2014\3.-BA-May-28-Marquez-Danzon-2.mp3


    now I run robocopy again with the /L option and it reports that there are no changes to be made


    -------------------------------------------------------------------------------
       ROBOCOPY     ::     Robust File Copy for Windows
    -------------------------------------------------------------------------------

      Started : Thu Jun 22 14:03:07 2017

       Source : i:\Music\primary\ISO\
         Dest : j:\music\primary\ISO\

        Files : *.*

    Exc Files : ftp.cfg
                descript.ion

     Exc Dirs : $recycle.bin
                recoverybin
                recycler
                recycle
                recycled
                system volume information

      Options : *.* /TS /FP /L /TEE /S /E /DCOPY:T /COPY:DAT /PURGE /MIR /XJ /R:1000000 /W:30

    ------------------------------------------------------------------------------

                               0    i:\Music\primary\ISO\
                               3    i:\Music\primary\ISO\28-May-2014\

    ------------------------------------------------------------------------------

                   Total    Copied   Skipped  Mismatch    FAILED    Extras
        Dirs :         2         0         2         0         0         0
       Files :         3         0         3         0         0         0
       Bytes :   23.62 m         0   23.62 m         0         0         0
       Times :   0:00:00   0:00:00                       0:00:00   0:00:00

       Ended : Thu Jun 22 14:03:07 2017



    I am not sure if this could be an issue, but I think that fix KB2639043 has been
    applies to my system which could be causing this issue

    Here is info about the copy of robocopy that is on my OS



              Comments:
           CompanyName: Microsoft Corporation
       FileDescription: Microsoft Robocopy
           FileVersion: 6.1.7601.23403 (win7sp1_ldr.160325-0600)
          InternalName: robocopy
              Language: English (United States)
        LegalCopyright: ╝ Microsoft Corporation. All rights reserved.
       LegalTrademarks:
      LegalTrademarks1:
      LegalTrademarks2:
      OriginalFilename: robocopy.exe.mui
           ProductName: Microsoft Windows Operating System
        ProductVersion: 6.1.7601.23403
                  Size: 101888
             TimeStamp: Friday, 25 Mar 2016 @ 1:29pm
    Thursday, June 22, 2017 8:09 PM

All replies

  • Hi,

    Would you provide the exact command line you have executed about /l ?

    /l is used to specifies that files are to be listed only (and not copied, deleted, or time stamped).

    For example:

    Robocopy.exe c:\sourceFolder d:\targetfolder /min:33553332 /l

    The upper command is used to list only files larger than 32 MBytes(33553332 bytes) in size.  /l command will list files matching the criteria.

    Please check your command line and keep update for your result.

    For more information, please refer to Robocopy and a Few Examples.

    Bests,

    Joy.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, June 23, 2017 10:11 AM
    Moderator
  • Hi,

    Would you provide the exact command line you have executed about /l ?

    /l is used to specifies that files are to be listed only (and not copied, deleted, or time stamped).

    For example:

    Robocopy.exe c:\sourceFolder d:\targetfolder /min:33553332 /l

    The upper command is used to list only files larger than 32 MBytes(33553332 bytes) in size.  /l command will list files matching the criteria.

    Please check your command line and keep update for your result.

    For more information, please refer to Robocopy and a Few Examples.

    Bests,

    Joy.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Hello – I am confused with your reply – you can see the command line from the robocopy logs in the post – I wanted to check first to see what files would be copied with the command line 

    robocopy c:\source c:\target /l /mir 

    as noted im my post, robocopy reported that it would copy the files, not saying why, with a tag like “newer” or “new files” or “changed” – 

    the summery line indicated the bytes (that would be copied)  

    I then issued 

    robocopy c:\source c:\target /mir /copy:t 

    which reset the timestamp   then issue (again) 

    robocopy c:\source c:\target /l /mir 

    and this time robocopy reports no changes as noted in the summer log 

    I have other w7 system, but they have older version of robocopy and I hesitate to issue the fix KB2639043 which updates robocopy which I think could be causing this issue 

    Friday, June 23, 2017 10:45 PM