Setting up your exclusions is an important configuration in FlexRAID and in particular when using Snapshot RAID.
The exclusion pattern tells FlexRAID which file to ignore, which is usually because of their transient states.
- Ex1: /path1;/path2;…;/pathX (only the specified files will be excluded)
- Ex2: /path1* (all files starting with /path1 will be excluded)
- Ex3: *something/MyEndingPath (all files ending with something/MyEndingPath will be excluded)
- Ex4: [RegExp]MyRegularExpressionPattern (this will use regular expression for matching)
- Ex5: [minSize]xxxx (file size matching – this will filter out all files with size less than the specified minimum size)
- Ex6: [hidden] (hidden files or folders will be ignored)
Of course, you can mix and match the patterns:
- Ex5: /Path1;*.mp3;[RegExp]MyRegularExpressionPattern
In FlexRAID 2.1, the following exclusion patterns are defined by default for Windows users: [hidden];*\RECYCLED;*\RECYCLER\S-*;*\$Recycle.bin;*\System Volume Information.
These patterns ignore hidden files and folders, recycle bin data, and System Volume Information data.
On Linux, files and folders starting with a dot are ignored with the default exclusion pattern of: */.*.
Files and folders starting with a dot are assumed to be hidden files on Linux.
If you are using tools such as MyMovies and others that maintain metadata information, you would want to include additional matches to exclude.
Here is an example of a user excluding files frequently updated by MyMovies: http://www.openegg.org/forums/posts/list/262.page#7050
Negating exclusion patterns:
Exclusion patterns can also be negated.
To negate a pattern, simply add a ‘!‘ to the pattern (Ex: !*.jpg or ![RegExp]…).
Simple exclusion patterns:
The simple FlexRAID patterns only do: startsWith (xxx*), endsWith (*xxx), contains (*xxx*), equals (xxx), minimum file size matching ([minSize]xxx), and hidden file and folder matching ([hidden]).
The simple patterns are for people that don’t want to do regular expressions. Regular expressions are powerful and will allow you to do almost anything you want (except file size and hidden matching).
Regular Expression exclusion patterns:
Regular expressions can even do negation on their own. So, you don’t have to use FlexRAID’s negation syntax with regular expressions, but you can if it simplifies things.
Applying patterns to files only or folders only:
By default, exclusions apply to both files and folders. To have an exclusion syntax apply only to files or to folders only, the following directives are supported:
- @all: apply to both files and folders (when no directive @all is assumed – e.g., @all[hidden])
- @files: apply pattern to files only (e.g., @files*.jpg)
- @folders: apply pattern to folders only (e.g., @folders*\$RECYCLE.BIN)
Regular expressions can be tested here: http://regexpal.com/
This will match C:\Whatever\Media\Movie\Bluray\folder.jpg
Careful! To match C:\Whatever\Media\Bluray\folder.jpg, you need:
- 7 September, 2015 @ 8:30 [Current Revision] by Brahim
- 7 September, 2015 @ 8:30 [Autosave] by Brahim
- 7 September, 2015 @ 8:27 by Brahim
- 7 September, 2015 @ 8:26 by Brahim
- 7 September, 2015 @ 8:26 by Brahim
- 7 September, 2015 @ 8:25 by Brahim
- 7 September, 2015 @ 8:22 by Brahim
- 7 September, 2015 @ 8:18 by Brahim
- 7 September, 2015 @ 8:13 by Brahim
- 7 September, 2015 @ 8:10 by Brahim
- 26 October, 2012 @ 19:53 by Brahim
- 22 October, 2012 @ 14:41 by Brahim
- 22 October, 2012 @ 14:40 by Brahim
- 22 October, 2012 @ 14:39 by Brahim
- 2 September, 2011 @ 10:14 by Brahim
- 22 June, 2011 @ 20:13 by xliv
- 22 June, 2011 @ 20:13 by Brahim
- 8 June, 2011 @ 16:23 by Brahim
- 8 June, 2011 @ 16:22 by admin
- 8 June, 2011 @ 16:19 by admin
- 4 June, 2011 @ 0:00 by admin
- 4 June, 2011 @ 0:00 by Brahim
- 3 June, 2011 @ 23:58 by Brahim
- 3 June, 2011 @ 23:57 by Brahim
- 3 June, 2011 @ 23:55 by Brahim
- 3 June, 2011 @ 23:52 by Brahim
- 3 June, 2011 @ 23:49 by Brahim