XenoGuard Documentation

Directory Synchronize

Actions » Windows » Directory » Directory Synchronize 

The action Directory Synchronize sets two directories to be similar in their content.


[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. Open the Directory node, and select the Directory Synchronize action.

Parameters:

The action 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 action 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:

  • File or Folder - the file name or folder name that should be ignored
Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Information Running the analysis mode is allowed even without synchronization.

Results:

The action 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:

  • File Name - the name of the file
  • File Size - the size of the file in
  • Creation Time - the time the file was created
  • Last Write Time - the time the file was last accessed
  • Operation - the performed backup operation
Allowed Context Scopes [Fixed, Local, Global]
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.

See other directory operations: