Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Oct 10, 2022

Using ROBOCOPY to move a large amount of files from one network destination to other

robocopy source destination /e /zb /dcopy:t /copyall /r:1 /w:1 /v /tee /efsraw /j /log:c:\temp\robocopy.log

Source :: \\Network location.
Destination :: \\Network location.
/e :: copy sub-directories including empty ones.
/zb :: Copies files in restartable mode. If file access is denied, switches to backup mode.
dcopy:t :: Copy time stamps.
/copyall :: Specifies which file properties to copy.
The valid values for this option are:
    D - Data
    A - Attributes
    T - Time stamps
    S - NTFS access control list (ACL)
    O - Owner information
    U - Auditing information
/r:1 :: Specifies the number of retries on failed copies.
/w:1 :: Specifies the wait time between retries, in seconds.
/v :: Produces verbose output, and shows all skipped files.
/tee :: Writes the status output to the console window, and to the log file.
/efsraw :: Copies all encrypted files in EFS RAW mode.
/j :: Copies using unbuffered I/O (recommended for large files).


Copy only the changed files after the initial copy has been completed for live share.

robocopy source destination  /XO

Using ROBOCOPY to move a large amount of files from one network destination to other

robocopy source destination /e /zb /dcopy:t /copyall /r:1 /w:1 /v /tee /efsraw /j /log:c:\temp\robocopy.log Source :: \\Network location. De...