0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

robocopy活用の一例:更新のみコピー

Posted at

本文

リリースパッケージを作成したら、新規ファイル追加する事が少ないが、既存ファイル更新は良くある場合、下記コマンドを利用すれば、便利になる。

RoboCopyサンプル
SET CP_SRC="C:\コピー元フォルダ"
SET CP_DST="C:\コピー先フォルダ"
robocopy %CP_SRC% %CP_DST% /MT:128 /E /XL /NP /LOG:D:\test.log
オプション 説明
/MT:128 スレッド128件
/E サブフォルダ含む
/XL コピー先ファイルファイルのみ更新
/NP /LOG コンソールに出力しない、ログファイルに出力、効率になる
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?