BestSync Icon BestSync Help Home / Main Index / Task Wizard

Rules for designating file types

1. Filtering file types can be given an identification name, the identification is a option.

The identification name and the filtering string are distinguished by "|".
When you edit the string of the filtering file type without modify the identification name. The old string is overwritten, and a new string will not be added to the history list.
Press "DEL" key in the Combo Box's list, you can delete the selected string from the history list.
The identification name is expressed with the red character in the following examples.
File Type List

2. Filename and Extension patterns are case insensitive.

3. Wildcard characters "?*#" are supported.

* represents any string; ? represents any one character; # represents one number.

For example,
If files with "AA" anywhere in the filename are of interest, then a Filename Pattern of *AA* could be used.
If only files ending with "AA" are of interest, then *AA would be more effective.
If the position of the "AA" in the filename is important, then use the ? wildcard. The ?AA* Filename Pattern will match files of any length with "AA" starting in the second position, while ?AA????? will only match 8-character filenames with 'AA' starting in the second position.
The # wildcard is similar to the ? wildcard, except only numbers will match it.

Typical Wildcard Pattern types:

a??: Three character string, the first character is 'a';
a?c: Three character string, the first character is 'a', and the end is 'c';
###: Three numbers;
a*: A string that begins with character 'a';
ab*cd: A string that begins with "ab" and end with "cd";
###*##: A string that begins with 3 numbers and end with 2 numbers;
*###*: A string that contains 3 continued numbers;

User can designate multiple file types by separating the types by semicolon (";").

For example:
"*.c??;*.h??;*.r??;*.def;*.bmp;*.ico;*.txt;"
"Debug;Release"

Exclude some files or patterns by adding "<!>" prefix to the pattern.

For example:
"<!>ExcludeThis.txt;*.txt;<!>ExcludeThis.doc*.doc;"
All the .txt and .doc files match the above pattern except files named ExcludeThis.txt and ExcludeThis.doc.
Note: Because the filtering scans from left to right, the excluding type must be positioned before the type that may contain the excluding type, otherwise the contained type is matched first.

If both a Filename and an Extension pattern are specified, then both must match for the rule to be applied to that file.

If only a 'Filename' or 'Extension' pattern is specified, then the absent portion is empty.
If "Exclude the designated types above" option is selected, then all the files match the file types will be excluded from the synchronization. Under this option, if <!> is added to the beginning of a type, then the type is included into the synchronization.


BestSync Icon BestSync Help Home / Main Index / Task Wizard