Command-Line Parameters
AllSync can be called via various parameters and thus be integrated in other programs, processes and workflows.
Tip: You can access most commands and options with mouse-click ease via the Shortcut Manager.
Tip: You can access most commands and options with mouse-click ease via the Shortcut Manager.
Syntax
AllSync.exe -Command -Option(s) "Profile" "Profile Folder" ....
Note: the commands and options are case-sensitive, meaning a distinction is made between uppercase and lowercase letters when making entries.
Note: the commands and options are case-sensitive, meaning a distinction is made between uppercase and lowercase letters when making entries.
Command-Line Parameters
-k "profile"
AllSync is started and a copy operation performed for all the profiles specified.-r "profile"
AllSync is started and a copy preview created for all the profiles specified.-ra "profile"
AllSync is started and a copy preview created for all the profiles specified. This is followed by the copy preview being automatically processed.-h "profile"
Starts a copy operation using the profiles specified, this being done in the background without AllSync's GUI. Only the progress indicator is displayed during the copy operation. AllSync automatically shuts down afterwards.-Q[1-5] "folder1" "folder2"
This command enables you to pass two folders to QuickSync and a copy preview to be generated. The -Q command has to include a number from 1 to 5 for a copy mode:-S
Starts AllSync Scheduler.-ST
Starts AllSync Service Tool.-l:"licensee","license key"
This command enables the license key to be inputted without having a dialog popped up.-LIC
This command enables the dialog for license data to be popped up again.Options
-s
This causes a confirmation dialog to be popped up before the copy operation for the -h, -x or -xe parameter.-e
This causes a confirmation dialog to be popped up after the copy operation for the -h, -x or -xe parameter.-np
This causes profile chaining to be deactivated.-a
This causes AllSync Scheduler (-S) to be automatically activated upon starting AllSync.-m
This causes AllSync to be started in a minimized window.-X[0-7]
This enables you to specify which action is to be performed for commands -k, -ra and -h when a copy operation has completed:- Shut down computer
- Shut down Windows
- Restart Windows
- Log off user
- Standby
- Hibernate
- Shut down AllSync
- Lock Desktop
-XE[0-7]
This option causes the same thing to be performed as -X, however the selected action is performed only if no errors occurred during the copy operation.-rh
This option causes all connected storage devices used via a source and destination folder to be safely removed after a copy operation. This option causes the general profile property Safely remove hardware after copy operation to be automatically deactivated.Profiles
You should bear the following in mind when specifying profiles:
- The profiles have to be located in AllSync's profile folder.
- The profile name has to be given in double quotes.
- The file extension of a profile (.pas) doesn't have to be specified.
- You don't need to specify the path of AllSync's profile folder.
- A maximum of 10 profiles can be started via the command line.
Syntax examples for specifying a profile:
- "Favorites.pas"
- "Favorites"
- "Private\Favorites"
- "C:\AllSync\Profile\Private\Favorites.pas"
Profile Folder
You should bear the following in mind when specifying profile folders:
- The folders have to be located in AllSync's profile folder.
- The profile folder name has to be given in double quotes.
- You don't need to specify the path of AllSync's profile folder.
- A maximum of 10 profile folders can be started via the command line.
- The profile folder must end with a backslash (\) or backslash and asterisk (\*). A backslash reads all profiles from this folder. A backslash with asterisk reads also the profiles from all subfolders.
Syntax examples for specifying a profile folder:
- "Favorites\"
- "Private\*"
- "Private\Favorites\"
- "C:\AllSync\Profile\Private\Favorites\"
Examples
AllSync.exe -S
Starts AllSync Scheduler.AllSync.exe -S -a
Starts AllSync Scheduler and automatically activates it.AllSync.exe -k "Demo" "Backup" "Favorites"
Starts a copy operation using the profiles 'Demo', 'Backup' and 'Favorites'.AllSync.exe -k "C:\AllSync\Profile\Work\*"
Starts a copy operation with all profiles inside the folder 'Work' and all subfolders.AllSync.exe -r "Backup" "\Internet\Favorites"
Generates a copy preview using the profiles 'Backup' and 'Favorites'.AllSync.exe -r "Databases"
Generates a copy preview of all profiles inside the profile folder 'Databases'.AllSync.exe -h "Demo"
Starts a copy operation using the profile 'Demo' in the background without the AllSync's GUI.AllSync.exe -h -s "Backup" "Favorites"
Starts a copy operation using the profiles 'Backup' and 'Favorites' and displays a confirmation window before the copy operation.AllSync.exe -h -s -e "Demo"
Starts a copy operation using the profile 'Demo' and displays a confirmation window after the copy operation.AllSync.exe -Q4 "C:\Data" "D:\Data"
Generates a copy preview between the two folders using the Sync copy mode.AllSync.exe -l:"Licensee","License key"
AllSync is enabled using this license key.
