2013年11月28日 星期四

robocopy command

robocopy \\10.0.1.1\home C:\Shared_Folders\home /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE /LOG:Robocopy_home.log
robocopy \\10.0.1.1\Public C:\Shared_Folders\Public /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE /LOG:Robocopy_Public.log
robocopy \\10.0.1.1\Shared C:\Shared_Folders\Shared /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE /LOG:Robocopy_Shared.log

test
robocopy \\10.0.1.1\Shared\IT C:\Shared_Folders\Shared\IT1 /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE /LOG:Robocopy_Shared_IT.log
robocopy \\10.0.1.1\Shared\Software C:\Shared_Folders\Shared\Software /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE /LOG:Robocopy_Shared_Software.log


/PURGE :: delete dest files/dirs that no longer exist in source

沒有留言:

張貼留言