...
Info |
---|
Best practiceDo not create a source based on the root of a volume. |
When you create a new source, you can exclude Exclude a directory or a set of directories from FileFly management when a new source is created:
First, create Create a new source. This example creates drive E:
By default, allAll directories are included by default:
Select which directories to exclude (untick) within the E partition. Any ticked share is included in our source directory and any unticked is not.
In this example, the The root directory3236_20160223092851_36_dx1.tar
is selected but none of its the subdirectories are.
Info |
---|
Note The reason |
For more details, see See Excluding files and directories in the guide for more details.
Exclude by rule
Another way to exclude directories is to use regular expressions. FileFly supports several types of regular expressions and a useful set of wildcard matching rules.
Suppose that you want to include certain directories and also exclude temporary internet files from the share, wherever they are located:
First, create Create a negation rule to exclude any folder that is called
Temporary Internet Files
:
The Negate flag indicates that this is an exclusion rule, so all directories except those named "Temporary Internet Files" are selected. By itself, this This rule excludes all "Temporary Internet Files" directories by itself, including all files and sub-directories within them.Next, create Create another rule to filter files in the remaining directories.
Now, combine Combine them: Navigate to Rules and select Create Compound Rule.
Select and Add your two rules from the list of available rules: