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:
- September 7, 2015 @ 08:30:36 [Current Revision] by Brahim
- September 7, 2015 @ 08:30:07 [Autosave] by Brahim
- September 7, 2015 @ 08:27:14 by Brahim
- September 7, 2015 @ 08:26:33 by Brahim
- September 7, 2015 @ 08:26:07 by Brahim
- September 7, 2015 @ 08:25:02 by Brahim
- September 7, 2015 @ 08:22:53 by Brahim
- September 7, 2015 @ 08:18:32 by Brahim
- September 7, 2015 @ 08:13:04 by Brahim
- September 7, 2015 @ 08:10:31 by Brahim
- October 26, 2012 @ 19:53:33 by Brahim
- October 22, 2012 @ 14:41:01 by Brahim
- October 22, 2012 @ 14:40:41 by Brahim
- October 22, 2012 @ 14:39:12 by Brahim
- September 2, 2011 @ 10:14:11 by Brahim
- June 22, 2011 @ 20:13:50 by xliv
- June 22, 2011 @ 20:13:13 by Brahim
- June 8, 2011 @ 16:23:57 by Brahim
- June 8, 2011 @ 16:22:14 by admin
- June 8, 2011 @ 16:19:46 by admin
- June 4, 2011 @ 00:00:41 by admin
- June 4, 2011 @ 00:00:18 by Brahim
- June 3, 2011 @ 23:58:21 by Brahim
- June 3, 2011 @ 23:57:10 by Brahim
- June 3, 2011 @ 23:55:51 by Brahim
- June 3, 2011 @ 23:52:07 by Brahim
- June 3, 2011 @ 23:49:07 by Brahim