"C:\Program Files\Windows Resource Kits\Tools\robocopy.exe" "\\SOURCESERVER\FOLDERTOMIRROR" "\\DESTINATIONSERVER\DESTINATIONFOLDER" /MIR /LOG+:"c:\robocopylogs\mirror.log.txt"
"C:\Program Files\Windows Resource Kits\Tools\robocopy.exe" \\orgdc01\shared\hc12\12common \\fwmnas\ipd\software\hc12\12common /MIR /LOG+:"c:\copylogs\cpyhc12.log.txt"
Example Output:
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP010
-------------------------------------------------------------------------------
Started : Wed Dec 17 08:19:51 2008
Source : \\orgdc01\shared\hc12\12common\
Dest : \\fwmnas\ipd\software\hc12\12common\
Files : *.*
Options : *.* /S /E /COPY:DAT /PURGE /MIR /R:1000000 /W:30
------------------------------------------------------------------------------
0 \\orgdc01\shared\hc12\12common\
0 \\orgdc01\shared\hc12\12common\os\
5 \\orgdc01\shared\hc12\12common\os\12c128\
5 \\orgdc01\shared\hc12\12common\os\12dp256\
6 \\orgdc01\shared\hc12\12common\os\12dp512\
Newer 219 iosdp512.la
0%
100%
1 \\orgdc01\shared\hc12\12common\os\can\
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 6 0 6 0 0 0
Files : 17 1 16 0 0 0
Bytes : 225.3 k 219 225.1 k 0 0 0
Times : 0:00:09 0:00:03 0:00:00 0:00:05
Speed : 63 Bytes/sec.
Speed : 0.003 MegaBytes/min.
Ended : Wed Dec 17 08:20:40 2008
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (1)
Commented:
So when I execute the same script the Robocopy app just copy the differences only ? or the deltas.