私はROBOCOPYコマンドを使用し、コマンドラインを作成して2つのフォルダ間で同期を行います(増分同期)
ROBOCOPY "Source_Folder" "Destination_Folder" /E /ZB /XJ /XF "~*.*" "*~.*" "desktop.ini" "Thumbs.db" "*.torrent" ".lock" ".Sync*" /xd "Rubbish" ".Sync*" ".Box Sync" "_private" "Outlook Files" /FFT /MT /R:2 /W:5 /V /MON:1 /TEE
(ファイルを除外する:"~*.*" "*~.*" "desktop.ini" "Thumbs.db" "*.torrent" ".lock" ".Sync*"
)(これらのフォルダー内のファイルを含むフォルダーを除外する:)"Rubbish" ".Sync*" ".Box Sync" "_private" "Outlook Files"
また、これはファイル/フォルダーの毎分および/または単一の変更を繰り返します。
よろしく、リズワン。
フラグ
/E Copy subdirectories, including empty ones.
/ZB Use restartable mode; if access denied use backup mode.
/XJ Exclude junction points. (normally included by default).
/FFT Assume FAT file times (2-second granularity).
/MT Do multi-threaded copies with 8 threads.
/R:2 Number of retries on failed copies.
/W:5 Wait time between retries.
/V Produce verbose output, showing skipped files.
/TEE Output to console window, as well as the log file.
/MON:1 Monitor source; run again when more than 1 change seen.
/XF [files] Exclude files matching given names/paths/wildcards.
/XD [dirs] Exclude directories matching given names/paths.