Navigation:  Special items >

Startup Parameters

Print this Topic Previous pageReturn to chapter overviewNext page

For advanced users, it can be useful to start Easy2Sync with certain parameters. Currently the following parameters are supported:

 

/SyncAllAndExit
Directly after the program start all projects are synchronized and the program is closed afterwards.
 

/SyncAll
Directly after the program start all projects are synchronized and the main window is displayed afterwards.

 

/SyncAndExit:MyProjectName
Directly after the program start the project with the specified name is synchronized and the program is closed afterwards. Neither before nor after the colon may be a space character.

 

/Sync:MyProjectName
Directly after the program start the project with the specified name is synchronized and the main window is displayed afterwards. Neither before nor after the colon may be a space character.

 

/FromAutostart
This parameter is normally only used internally when a shortcut to Easy2Sync is created in to autostart folder of Windows. If this parameter is set, then Easy2Sync assumes that Windows was just started, and begins to synchronize all tasks that must be synchronized at this time.

 

/IgnoreNetworkError
If this parameter is used, then missing network connections do not result in error messages, but will simply be ignored. Any task where the network connection is missing is simply skipped. This parameter applies only to synchronizations, which are run at program start.

 

/NoSplash
If this parameter is used, the program will not display the butterfly window while starting up.

       

/Delayed
Easy2Sync waits 30 seconds after being started before initializing or synchronizing anything.  This is great for reducing the workload at Windows startup or waiting for network connections to initialize.

       

/Delayed:n
Easy2Sync waits (n) seconds after being started.

 

/LongTermTimeout

The timeouts for FTP connections are increased. Use this parameter if the are problems after copying or comparing very large files to FTP servers.

 

/CopyTask("existingtaskname","newtaskname")

Duplicates an existing task. The internal database of the new task is deleted.

 

/DeleteTask("taskname")

Deletes an existing task.

 

/SetTaskProperty("taskname","propertyname","value")

Changes a task's property. Valid values for propertyname are: name, path1, path2, deactivated.

 

/NoMessages

Disallows Easy2Sync to ask questions. If any action require (according to the options) a user confirmation, it is skipped.

 

/Exit

Closes Easy2Sync

 

-----------------------

 

Batch-Mode:

 

/Copy("sourcepath", "targetpath", "subfolders")

The batch mode creates a temporary task and executes it. This allows you to use Easy2Sync as a replacement for XCOPY and use shell/MTP Ordner, and FTP/SFTP/FTPS servers. The third parameter is optional and causes Easy2Sync to include subfolders.

 

Supported task types:

/Copy

/Move

/Overwrite

/Flatten

 

Examples:

/Copy("c:\mysource", "\\laptop\data", "subfolders")

/Move("shell://Computer\GT-I9300\Phone\DCIM\Camera", "sftp://user:password@example.com/myfolder")

/Flatten("c:\sourcetree", "c:\nosubfoldershere", "subfolders")

 


Synchronize files