

NDL : No Directory List - don’t log directory names. NFL : No File List - don’t log file names.
#Emcopy switches full#
FP : Include Full Pathname of files in the output. TS : Include Source file Time Stamps in the output. UNILOG+: file : Output status to Unicode Log file (append) LOG+: file : Output status to LOG file (append to existing log). UNILOG: file : Output status to Unicode Log file (overwrite) LOG: file : Output status to LOG file (overwrite existing log). unicode : Display the status output as Unicode text. NP : No Progress - don’t display % copied.
#Emcopy switches plus#
MIR : MIRror a directory tree - equivalent to /PURGE plus all subfolders (/E) PURGE : Delete dest files/folders that no longer exist in source. DST : Compensate for one-hour DST time differences. CREATE : CREATE directory tree structure + zero-length files only. FAT : Create destination files using 8.3 FAT file names only. A-: : UnSet file Attribute(s) on destination files - remove. A+: : Set file Attribute(s) on destination files + add. TBD : Wait for sharenames To Be Defined (retry error 67). REG : Save /R: n and /W: n in the Registry as default settings.

W: n : Wait time between retries - default is 30 seconds. R: n : Number of Retries on failed copies - default is 1 million. Redirecting output using /LOG is recommended for even better performance. of threads to use (1-128)ĭefault = 8 threads, not compatible with /IPG and /EFSRAW IPG: n : Inter-Packet Gap (ms), to free bandwidth on slow lines. EFSRAW : Copy any encrypted files using EFS RAW mode. ZB : Use restartable mode if access denied use Backup mode. NOOFFLOAD : Copy files without using the Windows Copy Offload mechanism. J : Copy using unbuffered I/O (recommended for large files). Z : Copy files in restartable mode (survive network glitch). sl : Copy file symbolic links instead of the target. MOVE : Move files and dirs (delete from source after copying). MOV : MOVe files (delete from source after copying). L : List only - don’t copy, timestamp or delete any files. MINAGE: n : MINimum file AGE - exclude files newer than n days/date. MAXAGE: n : MAXimum file AGE - exclude files older than n days/date.

LEV: n : Only copy the top n LEVels of the source tree.
#Emcopy switches archive#
M : like /A, but remove Archive attribute from source files. A : Copy only files with the Archive attribute set. NOCOPY : Copy NO file info (useful with /PURGE). COPYALL : Copy ALL file info (equivalent to /COPY:DATSOU). SEC : Copy files with SECurity (equivalent to /COPY:DATS). S=Security=NTFS ACLs, O=Owner info, U=aUditing info)įile Data ( D) always includes file Timestamps ( T). (copyflags : D=Data, A=Attributes, T=Timestamps COPY: copyflag : What to COPY (default is /COPY:DAT)

E : Copy Subfolders, including Empty Subfolders. ROBOCOPY Source_folder Destination_folder įile(s)_to_copy : A list of files or a wildcard. By default Robocopy will only copy a file if the source and destination have different time stamps or different file sizes. Robocopy logs report the files as "newer" and "older" even though they have not been "touched" sinceĪn excerpt from a log of a subsequent (2nd, 3rd, 4th, etc) run of the script is as follows: -ĭest : \\wdsharespace\Backups\FamilyFileSync\Pictures\ However, there are a number of directories and files (some quite large video directories) that are always re-copied, even though nothing has changed. Upon subsequent runs, new and updated files on C: should be (and are) added to Upon first run (when wdsharespace is empty) everything works as expected and the two directories are copied in their entirity. Robocopy "C:\Users\Public\Videos" "\\wdsharespace\Backups\FamilyFileSync\Videos" /e /log:video_sync.log /np bat file looks as follows: robocopy "C:\Users\Public\Pictures" "\\wdsharespace\Backups\FamilyFileSync\Pictures" /e /log:pictures_sync.log /np
#Emcopy switches windows 7#
I am using robocopy to do a backup from the local disk on my Windows 7 Home Premium 64bit machine to an external WesternDigital ShareSpace device.
