Menu Close

Creating Sync Rules

Rule Name: A name that uniquely identifies the rule. We recommend creating an internal naming system, which will make managing hundreds of rules far easier.

Source Folder: Provide complete path of the folder that needs to be synced. The “Select Directory” button to the right will allow the user to more easily browse and select the folder you wish to sync from the file explorer on the device.

Users/Devices: This menu shows a list of all PC instances that are currently set up and available for you to sync your Source Folder with.

Select one or more clients with whom you want to create the sync rule.

Options: This section provides additional options to control the sync rule:

Manual: Selecting this option means that once you have added the rule, to run the rule the user must select the rule in the Sync tab and press the Execute button for files to be synced across devices. When this feature is not enabled, a universal rule will check every X minutes.

Tip: You can adjust the rule check time by typing any number of minutes you’d like at the top of Sync tab in the ‘Check for changes every X minutes’ option and clicking the Save button immediately next to the field.

Two-way sync: Enables two-way Sync between devices. This means that if files are changed in the synced folder on any device in the rule, those changes will sync to all devices.

Sync Deletions: This option is only available if ‘Two way sync’ is selected. When selected, all files deleted from the synced folder by any member will be deleted across all devices on the sync rule.

Destination folder: This is the folder location where the sender’s file will be stored on the recipient’s device. Binfer on the recipient’s end must have permissions to write to this folder. If no destination folder is selected or the selected destination folder does not exist, files will be downloaded to the default destination folder on the recipient’s device.

Include Pattern: Provide a regular expression if you want to include specific files/folders from sync source folder. Example: .doc|.docx|.pdf will exclude all word documents and PDFs from syncing across. For more examples and further information on Regex patterns, see our Example Regex Patterns section at the bottom of this page.

Exclude Pattern: Provide a regular expression if you want to exclude specific files/folders from sync source folder. Example: .doc|.docx|.pdf will exclude all word documents and PDFs from syncing across. For more examples and further information on Regex patterns, see our Example Regex Patterns section at the bottom of this page.

Minimum File Age: This setting allows you to prevent a file from syncing for a set amount of time after being modified. The default is 1 minute. As an example, if you are editing a document and step out for 5 minutes, you may not want the updates to sync. In this situation, you would want to set a ‘Minimum File Age’ of greater than 5 minutes.(Note: If real-time sync is turned on, Minimum file age option will be disregarded and files will begin to transfer as soon as the file change is detected at that source folder).

Rule Cleanup: This option is not advisable when ‘Two way sync’ is selected.

When ‘Delete After Sending’ is checked, all sent files will be deleted from the source folder after syncing.

When ‘Delete after sending’ is selected, ‘Check Backup Before Deleting’ will also appear as an option. This option allows you to specify a Backup Location path to save files before deleting.

Script Job Path: This option is allows to run batch script after the sync is completed.

For this option to work you have to include the batch file in the sync folder and enter the relative path to the batch file. If the batch script file is present at root of the sync folder and if the script name is “update.bat”. Then just enter “update.bat” in scrip job path option. if batch script is present inside any folder of the sync folder just provide the name of the folder followed by name of the batch script “foldername/update.bat”.

Note: Make sure the batch script execution is less than 15 minutes. To make sure there are no memory leaks and abandoned child process please follow this guideline. Do not add or delete files after the sync rule is created. After the member of the rule executes it’s script job locally and when it successfully completes the job owner of the rule will remove the member. Two way rules are not allowed for script job. 

ADD RULE: Before clicking ‘ADD RULE’, review all sync rule details to ensure accuracy. Once ‘ADD RULE’ is clicked, a new rule will be created and added to the rule list in your ‘Sync’ tab. Your sync rule can then be viewed and managed within the ‘Sync’ tab.


  1. Only Users/Devices and a few other options can be changed after a rule is created.
  2. Two rules cannot have the same source folder. Instead devices must be added to existing rule.


Example Regex Patterns

Example 1: vessel001

This simple pattern will match with all files that include vessel001 in their file name (For example, all of these will match: vessel001-wages.txt or dataio-vessel001.bin or new-vessel001-prod.txt)

Example 2: (.txt)$

This pattern will match the all files with the .txt file extensions which are just text files. ($ indicates look at the end of the file name. All of the following would match: file1.txt, data.txt, important-readme.txt)

Example 3: (.xlsx|.docx|.pub)$

This pattern will match files with xlsx, docx, or pub file extensions. This is a simple expression to match office document formats. Feel free to add more with the separator | . For example, if you want to add pdf files just change the expression to (.xlsx|.docx|.pub|.pdf)$

Example 4: ([binfer]w*)+(.pdf|.txt)$

This pattern will match with all files that starts with ‘binfer’ and end with the pdf or txt file extensions(w* indicates any one or more words)

Example 5: d*

This pattern will match with any files that have a digit in their name, for example it matches with 123.txt or vessel-date-321.bin or hvac-0001.txt

For more information on how understand and write regex patterns visit