XenoGuard 4.0 Documentation
Directory Synchronize
ActionStep Reference » Windows » Directory » Directory Synchronize
The ActionStep Directory Synchronize sets two directories to be similar in their content.
[-] Hide
- Open the Windows node in the Workspace Explorer.
- Open the Directory node, and select the Directory Synchronize ActionStep.
Parameters:
The ActionStep has the following input parameters:
name |
Description
|
---|---|
Source Directory
|
The directory to be backed up from. The content entered is not case-sensitive.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Enum] |
Target Directory
|
The destination directory where the backup files and folders are to be copied or moved.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Enum] |
Analyze Only
|
Inspects the content of the source directory for synchronization.
Allowed Context Scopes [Fixed, Local, Global] Allowed Value [Boolean] |
Synchronize Recursive
|
Determines whether subdirectories are included in the synchronization.
Allowed Context Scopes [Fixed, Local, Global] Allowed Value [Boolean] |
Synchronize Hidden
|
Determines whether hidden files are included in the synchronization.
Allowed Context Scopes [Fixed, Local, Global] Allowed Value [Boolean] |
Synchronize Read-Only
|
Determines whether read-only files are included in the synchronization.
Allowed Context Scopes [Fixed, Local, Global] Allowed Value [Boolean] |
Break on Error |
Determines whether the ActionStep will stop its execution when an error occurs.
Allowed Context Scopes [Fixed, Local, Global] Allowed Value [Boolean] |
Tolerated Timestamp Deviation [ms]
|
The allowed difference in timestamps in milliseconds which the two files are considered to be similar in time.
Allowed Context Scopes [Fixed, Local, Global] Allowed Value [Boolean] |
Ignored Files and Folders
|
The list of files and folders that are to be ignored. Parameters of the "Value" sub-branch:
Allowed Context Types [Variable, Parameter, Enum] |
Running the analysis mode is allowed even without synchronization. |
Results:
The ActionStep returns the following results:
NAME
|
DESCRIPTION
|
---|---|
Ignored Errors |
The list of errors that were ignored during synchronization.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter] |
File Count |
The total number of files synchronized to another directory.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter] |
Files
|
The list of files that were synchronized to another directory.
Parameters of the "File" sub-branch:
Allowed Context Types [Variable, Parameter] |
Example 1 (Match contents of a directory to another):
This example takes the content of one directory and creates a duplicate copy of the files and folders in another directory. The Result after synchronization is then output via Message Box.