Share via

robocopy

Anonymous
2017-06-22T02:45:55+00:00

I been using robcopy for years and as of late its seems to be broken on my win7 32bit os 

I simply try to mirror a folder and it seems to  want to copy all the files over again 

I first   run it with the  /copy:t option  then  with the /mir option and it just copies the new files 

added to the source folder to the target 

Is there a way to debug this? 

thanks

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

13 answers

Sort by: Most helpful
  1. Anonymous
    2017-06-22T19:20:37+00:00

    Hello -- thanks for the info, but the /FFT option did make a differnece ---

    What difference did it make?

    umm ... since  robocopy deemed that the files  were different the source files  would be

    (unnecessary) copied to the target -- 

    This is what you already reported in your original post. I wanted to know that changed when you used the /FFT option.

    Where did the time stamps (e.g. 130477653980000000) come from?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2017-06-22T19:15:19+00:00

    Hello -- thanks for the info, but the /FFT option did make a differnece ---

    What difference did it make?

    umm ... since  robocopy deemed that the files  were different the source files  would be

    (unnecessary) copied to the target --

    This is problematic  if the file trees in questions has thousands of files or very large files

    my music folder is 300G and has 30K files --

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2017-06-22T19:02:52+00:00

    Hello -- thanks for the info, but the /FFT option did make a differnece ---

    What difference did it make?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2017-06-22T18:50:50+00:00

    Hello -- thanks for the info, but the /FFT option did make a differnece ---

    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

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2017-06-22T05:44:56+00:00

    This command should suffice:

    robocopy d:\Documents G:\Documents /mir /FFT

    To see all robocopy switches, run this command:

    robocopy /? > robocopy.txt

    Was this answer helpful?

    0 comments No comments