Filter Files & Folders
Inclusion and exclusion filters allow you to specify which files and folders to synchronize.
- Inclusion filters
- Only the files and folders that match at least one of these filters are synchronized by the job. If no inclusion filters are specified, all files and folders are included.
- Exclusion filters
- Files and folders that match at least one of these filters are not synchronized by the job.
You can create filters in either basic or advanced mode. In basic mode, you specify a file-path pattern. In advanced mode you can build a file filter that includes additional criteria including size, creation date and file status.
How to add a filter
| Step 1: |
In the Options window, navigate to and select the Profile Settings > [Job name] > Inclusion and Exclusion Filters menu item. |
|
 |
| Step 2: |
Click on the Add New button at the bottom of either the inclusion or exclusion filter list. |
|
 |
| Step 3: |
Type a file name or a file-path pattern in the line named File Name Filter and press the Enter keyboard button. |
|
 |
Step 4:
(optional) |
Press the Advanced button to switch to the advanced-mode filter dialog and complete the filter specification. |
|
 |
| Finish |
You've added one file filter. To collapse the filter body click on the minus sign to the left of the filter (It will be turned to plus sign). Add another filter, or press the Apply button at the bottom of the Options window. |
|
 |
How to edit a filter
Click on the plus sign to the left of the filter. You can then change the filter specification. To collapse the filter body click on the minus sign to the left of the filter
How to delete a filter
Press the Delete Filter button to the right of the filter.
How do filters work?
A file is synchronized only if it matches at least one file inclusion filter and does not match any file exclusion filter. Folders are treated very much like files--a folder is synchronized (that is, the folder itself is propagated) only if it matches at least one folder inclusion filter and does not match any folder exclusion filter. If a folder is synchronized, its contents (the files and folders it contains) are then considered for synchronization, based on how those items match, or don't match, the job's filters. Items contained in excluded folders are not considered for synchronization.
Examples:
| Synchronization root |
c:\My Documents\Books\ |
<--> |
d:\My Favourite Books\ |
| Corresponding Files |
c:\My Documents\Books\New\book1.txt |
<--> |
d:\My Favourite Books\New\book1.txt |
| Path from the sync root |
\New\book1.txt |
| File matches the filter |
| \New\*.txt |
The file is in the subfolder "New" of the sync root and has a "txt" extension |
| book1.txt |
The file is inside of the sync root. File matches only if the "New" folder matches some filter |
| *.txt |
The file is inside of the sync root and has a "txt" extension. File matches only if the "New" folder matches some filter |
| \*\*.txt |
The file is in a subfolder of the sync root and has a "txt" extension |
| New\book1.txt |
The file is in the subfolder "New" which is inside of the sync root |
|
| File does not match the filter |
| \book1.txt |
The file is not in the sync root |
| \*.txt |
The file is not in the sync root |
| \*\*\book1.txt |
The file is not in a sub-sub-folder of the sync root |
| \Books\New\book1.txt |
Folder "Books" is not inside of the sync root |
| c:\My Documents\Books\New\book1.txt |
Drive c:\ is not inside of the sync root |
|
|