Robocopy Action Pack

Robust file copy for windows

Robocopy, or "Robust File Copy", is a command-line directory and/or file replication command. Robocopy functionally replaces Xcopy, with more options

 

pre requisites

 

Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8 and above

 

 

Robocopy, copies file data from source directory to destination directory. the Robocopy Action support the more popular robocopy options like

-Copies subdirectories

-Specifies the file properties to be copied

-Copies directory time stamp

-Purge, miror, mov and move

-files and directories exclude

-Retry

and any existing robocopy options using the free option fieldr

Applies To: Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8

 

Copies file data from source directory to destination directory. the Robocopy Action support the more popular robocopy options below 

 

__________________________

 

/s : Copies subdirectories. Note that this option excludes empty directories.

 

/e : Copies subdirectories. Note that this option includes empty directories. For additional information, seeRemarks.

 

/copy: : Specifies the file properties to be copied. The following are the valid values for this option:

D Data

A Attributes

T Time stamps

S NTFS access control list (ACL)

O Owner information

U Auditing information

The default value for Copy Flags is DAT(data, attributes, and time stamps).

 

/dcopy:T : Copies directory time stamps.

 

/purge :Deletes destination files and directories that no longer exist in the source. For additional information, seeRemarks.

 

/mir : Mirrors a directory tree (equivalent to/eplus/purge). For additional information, seeRemarks.

 

/mov :Moves files, and deletes them from the source after they are copied.

 

/move : Moves files and directories, and deletes them from the source after they are copied.

 

/xf [ ...] : Excludes files that match the specified names or paths. Note thatFileNamecan include wildcard characters (*and?).

 

/xd [ ...] : Excludes directories that match the specified names and paths.

 

/r /w : Retry (number and wait time)

 

_______________

 

use the field "Additionnal Options" If you need Options not supported by default like  /xct /xn, /xo, /xx... See Microsoft documentation for the complete list of Robocopy Options and syntax.

Created by....

Pierre-Boris Bonafous

Pierre-Boris Bonafous


Email:
pierre-boris.bonafous@automic.com


Login to View or Leave Comments