Bacula-users

[Bacula-users] RegEx to filter every other file format

2014-09-20 10:29:03
Subject: [Bacula-users] RegEx to filter every other file format
From: Heitor Faria <heitor AT bacula.com DOT br>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Sat, 20 Sep 2014 11:23:09 -0300
Mr. Bacula Users,

I'm trying to formulate a RegEx on fileset that excludes from backup everything expect a specific file type (.odt), just as curiosity (I know I could use WildFile + RegexFile Exclude .*).
I've created a test directory with those files: 
root@hfaria-ThinkPad-T420:/test# ls 
heitor  heitor.odd  heitor.odt  heitor.odx  heitor.ott  heitor.oxx  odd  odt  odx
I've tried this [1]: Regexfile = "^.*[^o][^d][^t]$"; Exclude = yes; But no files are filtered. 
Then I tried this [2]: Regexfile = "^.*[^o][^d][^t]"; Exclude = yes; And it filtered all files.
Questions: what is the format of the file list RegexFile uses? Any hints on this?

Regards,
--
============================================
Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at Udemy: bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria
Gtalk: heitorfaria AT gmail DOT com
============================================
------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>