C:\>robocopy /? …Windows XP/Windows Server 2003での例
-----------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP010
-----------------------------------------------------------------
source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir (drive:\path or \\server\share\path).
file :: File(s) to copy (names/wildcards: default is "*.*").
::
:: Copy options :
::
/S :: copy Subdirectories, but not empty ones.
/E :: copy subdirectories, including Empty ones.
/LEV:n :: only copy the top n LEVels of the source directory tree. …(以下省略)…
C:\>robocopy /mir "\\server01\C\Documents and Settings\user01\デスクトップ\New Folder" "\\server02\C\Documents and Settings\user01\デスクトップ\New Folder"
-----------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP010
-----------------------------------------------------------------
Started : Fri Apr 13 11:52:55 2007 …処理日付
Source : \\server01\C\Documents and Settings\user01\デスクトップ\New Folder\
Dest : \\server02\C\Documents and Settings\user01\デスクトップ\New Folder\ ↑↑…同期するフォルダ
Files : *.* ↑↑…同期するファイル。*.*は全ファイル
Options : *.* /S /E /COPY:DAT /PURGE /MIR /R:1000000 /W:30 ↑↑…オプション。リトライ回数や待ち時間など
-----------------------------------------------------------------
421 \\server01\C\Documents and Settings\user01\デスクトップ\New Folder\
*EXTRA File 1570 wmplog00.sqm …余分なあて先ファイル
*EXTRA File 1394 wmplog01.sqm
*EXTRA File 1802 wmplog02.sqm …(省略)… …以下処理結果
Total Copied Skipped Mismatch FAILED Extras
Dirs : 5 0 5 0 0 0
Files : 427 4 423 0 0 12
Bytes : 59.95 m 150.3 k 59.80 m 0 0 18.2 k
Times : 0:00:03 0:00:00 0:00:00 0:00:02