FolderSizes Search Rules control how the system matches file and folders.
There are two types of search rules - file rules and folder rules. This distinction is important, because it provides users with clear and granular control over precisely what types of file system objects are returned as search results.
Rule Properties
Search rules have a common set of characteristics, including:
| • | Type - Rules have a type of either file or folder, specifying the type of file system object to match. |
| • | Action - Either include or exclude, allowing the user to control how search responds to matches. |
| • | Enabled - Rules can be disabled, allowing them to be ignored without removing them from the rule list. |
| • | Description - Allows users to provide their own brief description of what the rule matches. |
| • | Criteria - Allows users to match file system objects based upon name, size, attributes, name length, age, or owner. |
Rule Processing
There are a few things to keep in mind with regard to how FolderSizes processes search rules.
| 1. | Exclusion rules always take priority |
| 2. | Otherwise, rules are processed in order |
| 3. | Rule processing stops at the first match |
You can create as many rules as you like, and order them however you like, as long as you keep the above in mind.
Rule Criteria
Each search rule can have one or more of the following file / folder match criteria associated with it:
| • | Name |
| • | Size |
| • | Age |
The Default Rules
There are two default rules that can be toggled on or off, depending upon your needs.
| 1. | Include all files by default |
| 2. | Include all folders by default |
These default rules provide a convenient way of listing all the files and / or folders in a given set of search paths (without having to construct any explicit inclusive rules). They also make it easier to establish "find every but" search scenarios.
The default search rules can be enabled or disabled via two checkboxes appearing just below the main search rules listing. Both are turned off by default.