Examples
Main menu - File - Search... - Examples |
|
Using the field "File name" to enter other search criteria
The field "File name" in the tab "Location" of the search dialog ("Main menu → File → Search...") can be used also to enter other search criteria.
After clicking the button (right above the field "File name) the following help is shown:
The following search criteria can be defined in the field "File name":
- Exclude files
Example: Entering
-*.ico;-test*
excludes all files with the extension .ico or whose names start with test.
If an "Exclude files filter" is defined in the field "File name", entries in the tab "Filters" under "Exclude files" are ignored. - Exclude folders
Example: Entering
-\tmp;-\svn*
excludes the subfolder \temp and all subfolders whose names start with svn.
If an "Exclude folders filter" is defined in the field "File name", entries in the tab "Filters" under "Subfolder filter" are ignored.
Here defined folder filters are always interpreted as full subfolder path. See examples of the effects under "Examples to search in (sub-) folders". - Include folders
Example: Entering
\*doc
limits the search to subfolders whose names end with doc.
If an "Exclude folders filter" and an "Include folders filter" are defined in the field "File name", the "Include folders filter" is ignored.
If an "Include folders filter" is defined in the field "File name", entries in the tab "Filters" under "Subfolder filter" are ignored.
Here defined folder folder filters are always interpreted as full subfolder path. See examples of the effects under "Examples to search in (sub-) folders".
- Timestamp filters
If several timestamp filters are defined in the field "File name", only the last timestamp filter is applied. The following timestamp filters are allowed: - |today Date modified from today 0.00 a.m. to now
- |hour Date modified from one hour ago to now
- |hour*5 Date modified from 5 hours ago to now
- |day Date modified from 24 hours ago to now
- |week Date modified from 7 day ago to now
- |month Date modified from 30 days ago to now
- |month*3 Date modified from 90 days ago to now
- |year Date modified from 365 days ago to now
All timestamp filters named above may be negated. Examples:
- -|today Date modified not from today 0.00 a.m. to now
- -|hour Date modified not from one hour ago to now
If a timestamp filter is defined in the field "File name", timestamp entries in the tab "Timestamp/Size/Attr" are ignored.
- Size filters
In the field "File name" files can be filtered by their file size. You may specify a maximum of one "greater than" filter using the symbol ">". In addition, you may specify a maximum of one "less than" filter using the symbol "<". The size unit has to be entered before the size value. Examples: - >1000
- >kb20
- >mb150
- >gb4
- <3200
- <kb16
- <mb200
- <gb5
Examples:
*.jpg >kb900 <mb1.2 equiv jpg files with the size more than 900 KB but less than 1.1 MB.
days.txt >gb1 equiv files named "days.txt" with the size more than 1.0 GB.
year.dbs <tb2 equiv files named "year.dbs" with the size less than 2.0 TB.
If a "File size filter" is defined in the field "File name", file size entries in the tab "Timestamp/Size/Attr" are ignored.
- Attribute filter
In the field "File name" files can be filtered by their file attributes. - :D search files with the attribute "Directory"
- :H search files with the attribute "Hidden"
- :DH search files with the attributes "Directory" and "Hidden"
Attribute filters can be combined. Example: A,H,S,R,D,E,C
Examples to search in (sub-) folders
Searching is defined for "*.jpg".
The folder "D:\Photos"
contains the following subfolders and contains the following files
The search in this folder delivers the following results, depending on the entered subfolder filter.
- Subfolder filter: "Family*"
- Subfolder filter: "2019"
- Subfolder filter: "*Family*" - "Exclude filter" option is active
- Subfolder filter: ".*\\Family\\.*" - "Regular expression" option is active