Method | Description | |
---|---|---|
DeleteDirectory ( |
Robustly deletes a directory including all subdirectories and contents
|
|
GetDirectories ( |
Gets list of subdirectories of specified directory, optionally filtered by specified input parameters
|
|
GetFiles ( |
Gets list of files in specified directory, optionally filtered by specified input parameters
|
|
Start ( ) : |
Performs one-way synchronization from source directory tree to destination directory tree
|
|
Start ( |
Performs one-way synchronization from source directory tree to destination directory tree
|
|
Sync ( ) : System |
Initializes a new instance of Synchonizer object.
|
|
Sync ( string sourceDirectory, string destinationDirectory ) : System |
Initializes a new instance of Synchonizer object.
|
Method | Description | |
---|---|---|
PrintUsage ( ) : void |
Prints usage
|
|
ProcessDirectory ( string srcDir, string destDir, |
Recursively performs one-way synchronization from a single source to destination directory
|
|
ShouldExclude ( |
For a given include and exclude list of regex's and a name to match, determines if the named item should be excluded
|
|
Trace ( string message ) : void |
Trace message
|
|
Validate ( string srcDir, string destDir, |
Validate folder and parameters
|
public DeleteDirectory ( |
||
directory | ||
return | void |
public GetDirectories ( |
||
directoryInfo | ||
inputParams | ||
results | ||
return | System.IO.DirectoryInfo[] |
public GetFiles ( |
||
directoryInfo | ||
inputParams | ||
results | ||
return | System.IO.FileInfo[] |
public Start ( |
||
configuration | ||
return |
public Sync ( string sourceDirectory, string destinationDirectory ) : System | ||
sourceDirectory | string | |
destinationDirectory | string | |
return | System |