Filter for Files and Folders
Filters enables you to filter specific files and folders from the source and destination folders during a copy operation, i.e. exclude them from the copy operation.
Filter List
The filter list contains all filter set up for files and folders. Each filter can be enabled or disabled via its checkbox. The buttons below the filter list enables you to add, edit or remove filters.Notes
- When filtering a folder the complete content of this folder will be filtered too.
- You can use the Windows environment variables with the Filter Types
Text with Placeholders
,Text without Placeholders
andRegEx
. - Examples of an absolute and relative path:
- Source folder: C:\
absolute path: C:\Windows\System32
relative path: \Windows\System32 - Source folder: C:\Windows
absolute path: C:\Windows\System32
relative path: \System32
- Source folder: C:\
Filter Actions
Exclude
All files and folders matching a filter are excluded from the copy operation. Example: If you specify the filter*.ini
, all files with the .ini
extension are filtered, i.e. excluded from the copy operation.
Include
Only files matching a filter are included in the copy operation. Example: If you specify the filter text*.ini
only files with the .ini
extension are processed during a copy operation.
All other files are filtered (= excluded) from the copy operation.
Use With
Here you can specify where the filter is to be used with:- Source
- Destination
- Source + Destination
Filter Types
Text with Placeholder
With this filter type you can use wildcards at the filter text. For Example, the filter text*.exe
will match all files with the extension .exe
.
The filter can be compared with one of the following properties:
- File Name
- File Path (Absolute)
- File Path (Relative)
- Folder Name
- Folder Path (Absolute)
- Folder Path (Relative)
Text without Placeholder
With this filter type all characters of wildcards are ignored and treated as normal text. The filter can be compared with one of the following properties:- File Name
- File Path (Absolute)
- File Path (Relative)
- Folder Name
- Folder Path (Absolute)
- Folder Path (Relative)
RegEx
With this filter type you can use regular expressions at the filter text. The filter can be compared with one of the following properties:- File Name
- File Path (Absolute)
- File Path (Relative)
- Folder Name
- Folder Path (Absolute)
- Folder Path (Relative)
File Size (Larger than / Smaller than)
This filter type enables you to filter files that are larger or smaller than a specific file size. The file size can be specified by one of the following size units:- Bytes
- Kilobytes (KB)
- Megabytes (MB)
- Gigabytes (GB)
Age (Older than / Newer than)
This filter type enables you to filter files or folders according to their age. The filter can be compared with one of the following properties:- File Creation Date
- File Modified Date
- File Last Access Date
- Folder Creation Date
- Folder Modified Date
- Folder Last Access Date
- seconds
- minutes
- hours
- days
- weeks (7 days)
- months (30 days)
- quarters (90 days)
- years (365 days)
Time Period (Within/Outside)
This filter type enables you to filter files or folders with a time/date stamp within or outside a specific time period. The filter can be compared with one of the following properties:- File Creation Date
- File Modified Date
- File Last Access Date
- Folder Creation Date
- Folder Modified Date
- Folder Last Access Date
Attributes (All/Some/Exact)
This filter type enables you to filter files or folders according to their attributes. The filter can be compared with the following attributes:- Archive
- Compressed
- Directory
- Encrypted
- Hidden
- Normal
- Not Content-Indexed
- Symbolic Link
- Offline
- Sparse File
- Write-protected
- System
- Temporary
- Virtual
Filter Method | Description |
---|---|
All | All selected attributes have to be present. |
Some | Some of the selected attributes have to be present. |
Exact | The attributes of the file or folder and the selected attributes must be exactly the same. |
Folder Level
This filter type enables you to filter files or folders by folder level. Multiple folder levels must be separated with a comma. Examples:Source Folder: C:\Data
- 1. Folder Level: C:\Data
- 2. Folder Level: C:\Data\Backup
- 3. Folder Level: C:\Data\Backup\Windows
- With the filter text
1,3
for files, all files in the folderC:\Data
andC:\Data\Backup\Windows
are excluded from the copy process. - With the filter text
1
for folder, all folders including their contents are excluded in the source folderC:\Data
and only the files from the 1st folder level are copied.
- With the filter text
2
for files only files from the folderC:\Data\Backup
are copied. All files from the 1st & 3rd folder level are excluded from the copying process.
Compare With
The following properties can be selected depending on the selected filter type:- Filter type: Text with placeholder, Text without placeholder, RegEx
- Filter type: File Size (Larger than), File Size (Smaller than)
- File size
- Filter type: Age (Older than), Age (Newer than), Time Period (Within), Time Period (Outside)
- File Creation Date
- File Modified Date
- File Last Access Date
- Folder Creation Date
- Folder Modified Date
- Folder Last Access Date
- Filter type: Attributes (All), Attributes (Some), Attributes (Exact)
- File Attributes
- Folder Attributes
- Filter type: Folder Level
- Files
- Folders
Filter Examples
1. Example
You are synchronizing data between the C: and D: drives and want to exclude theC:\Windows
and D:\Windows
folders.
A filter with the following settings is required for this:
Option | Setting |
---|---|
Filter Action: | Exclude |
Filter Type: | Text without placeholder |
Use With: | Source + Destination |
Compare with: | Folder name |
Filter Text: | Windows |
2. Example
You want to back up the system folderC:\Users
and exclude all data from the subfolders C:\Users\%USERNAME%\AppData\Local
.
A filter with the following settings is required for this:
Option | Setting |
---|---|
Filter Action: | Exclude |
Filter Type: | Text without placeholder |
Use With: | Source |
Compare with: | Folder Path (Absolute) |
Filter Text: | *\AppData\Local\* OR C:\Users\*\AppData\Local\* |