Skip to content

Latest commit

 

History

History
85 lines (71 loc) · 2.75 KB

fileFilters.md

File metadata and controls

85 lines (71 loc) · 2.75 KB
permalink layout mainAnchor title subtitle
fileFilters.html
default
fileFilters
File Filters
Filters can be used to exclude files from comparison, copy and delete actions

Files can be excluded from comparison specifying filenames, relative paths, file sizes and file modification dates.

Filename Filters

Available filters for filenames are shown below

Comparator Filter Description
Contains Filename contains the specified string
Begins with Filename begins with the specified string
Ends with Filename ends with the specified string
Is Filename is equal to the specified string
Is not Filename is not equal to the specified string
Is like Filename equals the specified string
? and * are allowed as wildcard characters, where ? matches 1 character and * matches 0 or more characters

Path Filters

It is possible to filter by specifying a path relative to root, this allows to exclude specific paths
Example

Left root path: /Users/dave/sources/
Folder content

/Users/dave/sources/
  project_1
    src/
  project_2
    src/
    index.txt

To exclude only the folder src under project_1 you can specify project_1/src as path filter.
The path is relative to root /Users/dave/sources/, you can use both folders and files as path filter.
The context menu item 'Exclude' automatically excludes folders as path.

Pay attention to not add extra characters, the following paths will never found
project_1//src   invalid, double slash
project_1/src/   invalid, trailing slash

File Size Filters

It is possible to specify files (not folders) to exclude based on their size expressed in bytes, KB, MB and GB

File Modification Date Filters

It is possible to specify files (not folders) to exclude based on their last modification date and time