ByteSync Reference Manual

Defining the synchronization actions

About synchronization actions

Actions are executed during the synchronization phase. They can consist of :

  • Copy the content and/or the last write time of a file
  • Delete a file

They are defined thanks to controls located above the list of results of the Local Inventory comparison.

There are two types of synchronization actions:

  • Manual Actions. They are so named because they are defined after having previously selected the files to which they apply.
  • Automatic Actions. They are named like this because the files to which they apply are selected automatically if they meet certain conditions.

Manual Actions management interface

You can create, modify and delete Manual Actions. Manual Actions are linked to the items in the list that are selected when you click [ADD MANUAL ACTION].

  1. Action combobox.
  2. From combobox. Source of the action.
  3. To combobox. Destination of the action.
  4. [CANCEL] button. Click on this button to cancel the creation or the modification of the action.
  5. [RESET] button. Click on this button to reset the form.
  6. [SAVE] button. Click on this button to apply the form and create or update the action.

Creating a Manual Action

Select the items in the list for which you want the action to apply. Then click the [ADD MANUAL ACTION] button. The Create Manual Action panel will appear. It will allow you to define the parameters of the action.

The Action drop-down list allows you to select one of the following actions:

  • Copy content and date. The content and time of the last write from the source (From) will be copied to the destination (To). If the destination file does not exist, the file will be created. Otherwise, its contents will be overwritten and its last writing time will be set.
  • Copy content. The content of the source (From) will be copied to the destination (To). If the destination file does not exist, the file will be created. Otherwise, its contents will be overwritten.
  • Copy date. The last writing time of the source (From) will be copied to the destination (To). If the destination file does not exist, nothing will be done. Otherwise, its last writing time will be set.
  • Delete. The file will be deleted at the destination (To).
  • Do nothing. Nothing will be done.

Once created, the Manual Action will be displayed on each line that was selected before its creation. It will look like this:

  1. Letter “M”. Indicates that the action is a manual action.
  2. Action description. Indicates what will be done when the action is executed.
  3. [X] button. Click this button to delete this action.

Editing a Manual Action

Click on the action you want to modify. You can click on the letter “M” (1) or on the action description (2). If you click on the [X] button, the action will be deleted.
The Edit Manual Action panel will appear. It will allow you to modify the action parameters.

This panel works the same way than the “Create manual action” panel described above.

Info

Manual actions can only be edit individually.

Deleting a manual action

Click on the [X] button to delete a Manual Action.

Automatic actions management interface

You can create, modify and delete Automatic Actions. Automatic Actions are executed on items that match the conditions defined in the action.

  1. All / Any drop-down list
  2. Source drop-down list.
  3. Source Item drop-down list.
  4. Operator drop-down list.
  5. Destination drop-down list.
  6. Button [-] to delete the condition.
  7. Button [-] to delete the action.
  8. [CANCEL] button. Click on this button to cancel the creation or modification of the action.
  9. [RESET] button. Click this button to reset the form.
  10. To drop-down list. Destination of the action.
  11. From drop-down list. Source of the action.
  12. Action drop-down list
  13. [SAVE] button. Click this button to apply the form and create or update the action.
  14. [ADD ACTION] button. Click this button to add a new action line.
  15. [ADD CONDITION] button. Click on this button to add a new condition line.

Creating an automatic action

Click the [ADD AUTOMATIC ACTION] button. The Create Automatic Action panel will appear. It will allow you to define the parameters of the action.

An automatic action is composed of :

  • One or more conditions
  • One or more actions

If the drop-down list All / Any (1) is set to All, each condition must be met for the actions to be executed. If it is set to Any, at least one condition must be met for the actions to be executed.

Info

If the requirements are met, all actions will be executed. The actions can be considered as a non-divisible group.

When creating a condition, the Operator depends on the selected item. You can click the [ADD CONDITION] button to add conditions.

The actions of an automatic action work like manual actions. You can see above for more information.

When an Automatic Action is saved, a summary of the action will be displayed in the Automatic Actions panel.

Editing an Automatic Action

Click on the summary of the Automatic Action you want to modify in the Automatic Actions panel.
The Edit Automatic Action panel is displayed. It allows you to define the parameters of the action.

This panel works in the same way as the Create Automatic Action panel described above.

Deleting an Automatic Action

Click the [X] button to delete an Automatic Action.

Previous Article

Data comparison