The following command line options are supported in the Enterprise Edition of the software. These command line options are supported on both local and remote computers. This is provided as a complementary to the UI program and not as a full fledge alternative to it. Options along with their associated parameters can be placed in any order. For example, you can put the -connect option as a first or last option along with any other option.
The following parameters can be used in the commands. The path names may contain any environment variables, which will be expanded before executing the command. The command will be run under the current user's account on the local computer, and under the System account on the remote computer. So, values of the environment variables will be different accordingly.
Host name or IP address of the remote computer where MirrorFolder is running. The given command will be executed on the remote computer.
The port number to connect on the remote host computer. This is optional in case it was saved earlier for the given host computer.
The password required to connect with the remote host computer. It is optional if saved earlier with the '-saveKey' option
The file name containing synchronization or archiving options saved earlier. If this file is on the remote computer, its full path name is required.
The full source folder or drive path name for which to create a mirror folder or archive file.
The absolute path name of the mirror folder or drive.
The absolute path name of the archive folder.
The full path name of the archive file. It should have either '.zip' or '.7z' file extension.
The archive file name with '.zip' or '.7z' file extension but without any path name.
Any file name to import or export settings. If it is on the remote computer, the an absolute file path name is required.
You can execute any one of the following commands at a time along with optional -connect command.
Use the '-connect' option to connect to the MirrorFolder service running on a remote computer and execute any one of the following command options. You need to provide the listening port number with '-port' and the password with the '-key' option for this command. If you include the '-saveKey' option, the given port number and password will be saved locally so that you can later omit the port number and password when connecting to this same host name later. This option is available in the Enterprise Edition of the software.
Saves the options of the specified mirror path to the given filename. While connected to a remote computer, you can use the '-remote' option to specify a full file path to save the options on the remote computer. Otherwise, the options will be saved on the local computer.
Create a new source and mirror path pair, or add a new mirror path for an existing source path, for mirroring or automated synchronization. You can optionally provide a full archive file path name with either .zip or .7z extension for archiving deleted and replaced files during synchronization. Synchronization options can be provided in an earlier saved local XML file with '-localOpt' option. While connected to a remote computer, you can use the option '-remoteOpt' to provide a full XML file path name containing synchronization options, on the remote computer.
Edit options for the specified mirror path. You can optionally provide an archive file path name or synchronization options file like above.
Remove the specified mirror path name from the Mirror List.
Saves the options of the specified archive path to the given filename. While connected to a remote computer, you can use the '-remote' option to specify a full file path to save the options on the remote computer. Otherwise, the options will be saved on the local computer.
Create a new source and archive path pair, or add a new archive path for an existing source path, for automated archiving of the source path. You need to provide an archive file name with either .zip or .7z extension for creating archive files with timestamp. Archival options can be provided in an earlier saved local XML file with '-localOpt' option. While connected to a remote computer, you can use the option '-remoteOpt' to provide a full XML file path name containing archival options, on the remote computer.
Edit options for the specified archive path. You need to provide an archive file name with either .zip or .7z extension. Archiving options can be provided in an XML file like above.
Remove the specified archive path name from the Archive List.
List the specified mirror path, or all mirror paths of the specified source path, or all mirror paths. The specified path may contain wild card characters '*' or '?'.
List the specified archive path, or all archive paths of the specified source path, or all archive paths. The specified path may contain wild card characters '*' or '?'.
Start synchronizing the specified mirror path, or all mirror paths of the specified source path, or all mirror paths. The path may also contain wild card characters '*' or '?'.
Stop the currently running synchronization, if any, for the specified mirror path, or all mirror paths of the specified source path, or all mirror paths. The path may also contain wild card characters '*' or '?'.
Start archiving to the specified archive path, or all archive paths of the specified source path, or all archive paths. The path may also contain wild card characters '*' or '?'.
Stop the currently running archival process, if any, for the specified archive path, or all archive paths of the specified source path, or all archive paths. The path may also contain wild card characters '*' or '?'.
Disable the specified mirror path, or all mirror paths of the specified source path, or all mirror paths. The path may also contain wild card characters '*' or '?'.
Enable the specified mirror path, or all mirror paths of the specified source path, or all mirror paths. The path may also contain wild card characters '*' or '?'.
Disable the specified archive path, or all archive paths of the specified source path, or all archive paths. The path may also contain wild card characters '*' or '?'.
Enable the specified archive path, or all archive paths of the specified source path, or all archive paths. The path may also contain wild card characters '*' or '?'.
Export all settings into the specified file name in XML format. When connected to a remote computer, this file will created on the remote computer only and the full path name of the file needs to be provided. Exporting settings from a remote computer to local computer is not supported for security reason.