Archives

You are currently viewing archive for 23 April 2007
Category: MS tips
Posted by: hajime osako
robocopyでフォルダをバックアップ/同期させる - @IT
Windows Server 2003 Resource Kit Tools

ROBOCOPY "C:\Documents and Settings\user\My Documents\My Briefcase" "E:\My Documents\My Briefcase" /E /XO /XJ
ROBOCOPY "C:\work" "E:\My Documents\workspace" /E /XO /XJ /XD ".svn" /XF "*.mpg" /XF "*.wmv"

/E :: copy subdirectories, including Empty ones.
/XO :: eXclude Older files.
/XJ :: eXclude Junction points. (normally included by default).
/XD dirs [dirs]... :: eXclude Directories matching given names/paths.
/XF file [file]... :: eXclude Files matching given names/paths/wildcards.
Category: Z. links
Posted by: hajime osako