The Source Item Editor allows the advanced customisation of a Source Item.
General Settings
This area contains the basic settings for the source item.
- Path
- Ensure this path exists before allowing the profile to be processed
- Checked
- Intermediate
- Unchecked
- Verify
The full directory path of the source item.
This checkbox can have three states, either of which can be set by repeatedly clicking upon it.
Processing can only be started if the path this source item is referencing exists. If it doesn't, an error will be displayed.
The existence of the referenced path depends on if the profile has Ensure all source items exist before processing enabled; if it has, then the path must exist before processing can be started. This setting effectively "inherits" the parent profile's existence setting.
Processing can be started regardless of if the referenced path exists or not.
Run a full check on all of the settings within the Source Item Editor and display any errors. The existence of the Path is checked, along with the syntax of all Rules to ensure there are no errors with any of the entered regular expressions.
Rules
Rules are used to tell FileSieve which files it should include and which files to ignore during the initial scanning stage.
Rules are processed in a top-to-bottom order; rules nearer to the top have a higher priority. The regular expression for rules are matched against a file's full path and filename, including file extension.
- Type
- Search Rule
- Ignore Rule
- Regex
Specifies the type of rule.
This rule is used for allowing files. If a Search Rule matches, rule processing for that file will be stopped and the file will be included within the profile processing.
This rule is used for disallowing files. If an Ignore Rule matches, rule processing for that file will be stopped and the file will be ignored from profile processing.
The regular expression to use for matching.
Options
The Options
section provides additional settings for the source item.
- Perform case-insensitive path and filename matchingDefault:
enabled
- Include Sub-FoldersDefault:
enabled
- Delete any empty sub-folders after processingDefault:
disabled
- Metadata
- Minimum FilesizeDefault:
1
- Maximum FilesizeDefault:
-1
Performs a case-insensitive match. For example, Dog will match both dOg and DOG.
If enabled, all child sub-folders and files under the path will be processed, otherwise only the files immediately under the path are processed.
If enabled, any sub-folders under the main path for this Source Item that become empty after processing will be deleted to the recycle bin. The Options area within Settings allows you to change if the sub-folders are removed during or after processing.
Provides options for matching/ignoring on file metadata (eg. data about data).
Files are only matched if their filesize is this value or higher. By default, this is set to 1
so any empty 0-byte files
are ignored; set to 1
to also include those files.
The maximum filesize of files to be included. This value is inclusive, in that files that are the same or smaller will be included.
Advanced
The advanced area contains settings which are specifically provided for those what want further control over the source item. Editing these settings is not required.
- Regular Expressions
- Invariant cultureDefault:
disabled
- CompileDefault:
disabled
- Benchmark
- Right-to-leftDefault:
disabled
- Ignore Pattern WhitespaceDefault:
disabled
- Other
- Get Files ModeDefault:
yield
- Yield
- Burstrecommended
- Burst: Fastdisables some features
Advanced settings pertaining to both the Search and Ignore patterns.
Specifies that cultural differences in language is ignored.
Specifies that FileSieve should compile the regular expression into machine code for faster execution, but increases the initial sorting startup time.
This can be useful if there are hundreds of thousands of files that need to be checked at the expense of a small delay before the sorting begins (after the Start
button is pressed).
Performing the benchmark will test the speed at which your system can perform regular expression comparisons using the current settings entered into the Source Item Editor window. 2 million comparisons are performed.
Specifies that matching will be from right-to-left instead of left-to-right. Default:
Eliminates unescaped white space from the pattern.
Additional settings that don't fit into the other categories.
Determines how FileSieve will get the list of files/items within the Source Items during processing.
When processing starts, FileSieve will get the first file/item, process it, and move onto the next item. This ensures the processing engine is not waiting around while the file/item list is being generated.
Items are immediately processed so results are immediate.
The disadvantage of Yield
is that, overal, it can be significantly slower than the other non-
As soon as processing starts, FileSieve will get (enumerate) the entire list of files/items while the processing engine waits. Once the list is generated, it will be passed back to FileSieve and processing will commence.
The performance difference between Burst
and Yield
is that Burst
is significantly faster;
in fact, Yield
can process 70,000 files in a few minutes whereas Burst
can process those same files in
a couple of seconds (on a mechanical drive).
The disadvantage of Burst
is that it can result in the FileSieve not "knowing" when processing has
completed and the interface not reverting back to its non-processing state. If this is the case, either select Yield
or - if you want to keep the performance improvements of Burst
- change the value of the UiWaitForThreadExit
within Settings - Advanced - Processing to a higher value, such as double (eg. 1000).
Like with Burst
, as soon as processing starts, FileSieve will get (enumerate) the entire list of files/items while the processing engine
waits. Once the list is generated, it will be processed back to FileSieve and processing will commence.
The "fast" in this mode is that the only Search Pattern
supported is .*
(which matches everything), and
sub-folders are not searched within the current Path
. The internal file enumeration code is greatly simplified.
Preview
The Preview
area provides a means of testing the entered path and rules to see what is being returned for inclusion within the
sorting process.
- Refresh
Refeshes the list using the currently entered settings and patterns. Useful to quickly see the results of any changes. A refresh is
automatically performed when the Preview
tab is selected.
Keyboard Shortcuts
Unless stated otherwise, these keyboard shortcuts are global to the entire window; pressing them regardless of which control is active will cause them to trigger.
- F1, Help
- F2
- F3
- F4
- F5
- F8
- F10
- F12
Displays this page of the documentation.
Displays the Rules
tab.
Displays the Options
tab.
Displays the Advanced
tab.
Displays the Preview
tab.
This is the keyboard equivalent of clicking on the Verify link.
Shows or hides the extended section of the window. This is a keyboard equivalent of clicking on the downwards pointing arrow at the bottom-left of the window.
This is the keyboard equivalent of clicking on the Close
button.