• 追加された行はこの色です。
  • 削除された行はこの色です。
* robocopy - ログ [#b4b45a5a]
* Robocopy ログ [#b4b45a5a]

** ファイル構成 [#z7ad7dd5]
** ログファイルを指定 [#s76cdb6a]
 Robocopy.exe /np /log:"C:\tmp\robo.log" "C:\src" "D:\dst"
- /logは/np(進捗を表示しない)を伴って指定する。
- ログファイルを追記する場合は/log+:".."とする。新規作成・追記も兼ねてOK。

** ログ例 [#u2353285]

*** ファイル構成 [#qd77e58c]

以下のようなファイル構成とする。

 ├─dst
 │      test1.txt
 │      test2.txt
 │
 └─src
         test1.txt
         test2.txt
         test3.txt

- src\test1.txt dstと同じ
- src\test2.txt dstより新しい
- src\test3.txt dstにはない

** robocopy実行時のログ [#w11cb2cb]
*** 実行時のログ [#ycc7bdab]
 C:\Users\user\tmp>robocopy ".\src" ".\dst"
 
 -------------------------------------------------------------------------------
    ROBOCOPY     ::     Windows の堅牢性の高いファイル コピー
 -------------------------------------------------------------------------------
 
   開始: 2015年5月23日 21:32:55
    コピー元 : C:\Users\user\tmp\src\
      コピー先 : C:\Users\user\tmp\dst\
 
     ファイル: *.*
 
   オプション: *.* /DCOPY:DA /COPY:DAT /R:1000000 /W:30
 
 ------------------------------------------------------------------------------
 
                            3    C:\Users\user\tmp\src\
 100%            新しい                 4        test2.txt
 100%      新しいファイル                       0        test3.txt
 
 ------------------------------------------------------------------------------
 
                   合計     コピー済み      スキップ       不一致        失敗    Extras
    ディレクトリ:         1         0         0         0         0         0
      ファイル:         3         2         1         0         0         0
       バイト:         4         4         0         0         0         0
        時刻:   0:00:00   0:00:00                       0:00:00   0:00:00
    終了: 2015年5月23日 21:32:55



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS