BestSync Icon BestSync Help Home / Main Index / Task Wizard

Task Wizard: Exclude or Include

If sub-folders and files need to be excluded from or selected into the synchronization, you can add them to the list. all the folders and files need to be synchronized, just leave the list be empty.

Note: If the task is synchronizing with a FTP/SFTP/WebDAV folder, sub-folders added to the list as including folders will be added to the file tree at the synchronizing time.

The checkbox:

The check box at the left of the item, is used to include or exclude the item from the synchronization.
If the checkbox is checked, means that the item is included into the synchronization;
If the checkbox is unchecked, means that the item is excluded from the synchronization.

Wildcard Pattern:

If you want the wildcard pattern to apply to all the sub-folders, use the "Filter" setting is more effective.

Wildcard character *?# can be used to define the pattern. * represents any string; ? represents any one character; # represents one number.

Wildcard characters can be used in folder items or file items.
A folder example:
  [x]A*\B*\
A file example:
  [x]SubFolder1\SubFolder2\A*.txt;B*.txt
In file item, multiple patterns can be specified. Multiple patterns are separated by semi-colon ";".
To add a file item, press pull down to "Add one file for edit"; then input the folder relative path and patterns.

Note: File item takes affect on the specified sub-folder and all its descendants folders. If you do not want the patterns apply to its descendants folders, add <!r> at the beginning of the pattern. like
[x]<!r>SubFolder1\SubFolder2\A*.txt;B*.txt

Date and time picture string:

Date and time picture string can be used to exclude or include sub-folders or files dynamically by the date and time.

For example: 
<date:yyyyMMdd> means the date string of today.
<date:yyyyMMdd-1> means the date string of yesterday.
<date:yyyyMMdd-2> means the date string of the day before yesterday.

File filtering order:

BestSync filters the files and folder in following 5 steps:

include step1

include step2

"Filter" Page

BestSync scans the exclude/include list from top to bottom.

For a listed folder, if the checkbox is unchecked, the folder is excluded from the synchronization; if the checkbox is checked, BestSync will also check step 2, 3, 4, 5. If the folder is excluded in any step, the filtering ends.

For a listed file, if the checkbox is unchecked,  the file is excluded from the synchronization; if the checkbox is checked, file is included into the synchronization. BestSync will NOT check step 2, 3, 4, but step 5 will still be checked.

When meet "All other files and folders", the scanning ends. But Step 2, 3,4,5 will still be checked.

Buttons:

"Add in Folder1":

Press this button to start the explorer dialog box to select folders and files in the Folder1.  If the synchronous target is a Outlook or Windows Mail, press this button to start the email explorer dialog box to select folders and mails.

"Add in Folder2":

Press this button to start the explorer dialog box to select folders and files in the Folder2. If the synchronous target is a FTP server, press this button to start the FTP explorer dialog box to select folders and files in the FTP server.

"Delete items":

Press this button to remove the selected folders and files from the list.

Press the pull down button to show more methods to add the files or items, such as drag and drop operation.

Press buttons to adjust the order of the items.

Setting Hints:

1. Setup a task to synchronize only some sub-folders.

(1) Add the sub-folders that are to be synchronized to the list. Check the checkboxes.
(2) Clickpull down button to show the pop up menu, and select "Exclude all other files and folders" menu.

2. Setup a task to synchronize some designated sub-folders and new sub-folders of the root folder (Folder1 and Folder2).

(1) Add the sub-folders that are to be synchronized to the list. Check the checkboxes.
(2) Check "Only synchronize new sub-folders (include descendants) of the root folder".

Exclude sub-folders that include the following sub-strings. (Separate multiple strings by ";". Leave it empty if no excluding folders):

The sub-folders are first filtered by above excluding or including list, if the sub-folders are not excluded by above conditions, sub-folders are filtered by this option. If a sub-folder name includes one of the sub-strings specified here, it is excluded from the synchronization. 

Multiple strings can be separated by semi-colon. For example:
   "RECYCLER;System Volume Information;temp;mid"

The filtering string can include the path separator '\', for example, to filter all the folder called "temp" and "tmp",
     "\temp\;\tmp\"

To exclude all the sub-folders that begin with ABC, can set the filtering string like the following:
     "\ABC;"

To exclude all the sub-folders that end with ABC, can set the filtering string like the following:
     "ABC\;"

Exclude the reparse point file/folder:

In windows VISTA/7/Server 2008, the 'special' folders, such as "My Documents", "Application Data" are Reparse Points. The reparse points may nest itself, such as "C:\Users\UserName\AppData\Local\Application Data\
" folder. If you do not want to synchronize the reparse point, you can check this option. BestSync excludes nested Reparse Points automatically.

HINT:

Include or exclude a whole subfolder dynamically:

If you put a mark file named "_bestsync_exclude_this_folder_._exclude_" into a subfolder, BestSync will exclude the subfolder from the synchronization. Later if you need to synchronize the subfolder, just delete the mark file.  In real-time sync mode, if you delete the mark file, the subfolder will be synchronized immediately.
Note: In real-time sync mode, if a subfolder is renamed, the subfolder will still be renamed immediately in another side even if a mark file exist in the sub-folder.


BestSync Icon BestSync Help Home / Main Index / Task Wizard