It is a shell-style pattern, so *, ? and [] work. The code is part of Bacula, so it not dependent on the OS. Note that [] is only for matching a single character, so 201[0-9] would match 2010-2019 but there is no way to make a match for 2010-2020.
If you need to use a regex, then you can test it with Bacula's bregex utility. __Martin >>>>> On Wed, 12 Jan 2022 21:15:26 -0600, Richard Couture said: > > I am getting ready to implement wilddir on my includes and excludes and > am wondering which wild card characters are allowed without using the > regex option. I see that the '*' is allowed, but after searching the > docs and the Web I can find no mention of which other chars, if any, are > also allowed. > > Is the '?' char allowed? is there a way of specifying a > character/numeric range without the regex option? I want to write > /var/spool/samba/netdrive/ASA/*/2010-2019 (2010-2019 are directory > names, not file names) > > Is it dependent on the OS? I use GNU with the Linux kernel. > > I am using Bacula 9.6.7 > > My Regex skills are rather limited and I prefer to avoid that nightmare > if possible. > > Thanks > > > Richard > > > -- > LinuxCabal Asociación Civil > Ing. Richard Couture > Novell CNE, ECNE, MCNE > HP/Compaq ASE > Tel.: (+52) (333) 145-2638 > Cel.: (+52) (044) 333 377-7505 > Web: http://www.LinuxCabal.org > E-Mail: r...@linuxcabal.org > Hosted en la nube Cloud Sigma - www.CloudSigma.com > > AVISO DE CONFIDENCIALIDAD: Este correo electrónico, incluyendo en su > caso, los archivos adjuntos al mismo, pueden contener información de > carácter confidencial y/o privilegiada, y se envían a la atención única > y exclusivamente de la persona y/o entidad a quien va dirigido. La > copia, revisión, uso, revelación y/o distribución de dicha información > confidencial sin la autorización por escrito de LinuxCabal está > prohibida. Si usted no es el destinatario a quien se dirige el presente > correo, favor de contactar al remitente respondiendo al presente correo > y eliminar el correo original incluyendo sus archivos, así como > cualesquiera copia del mismo. Mediante la recepción del presente correo > usted reconoce y acepta que en caso de incumplimiento de su parte y/o de > sus representantes a los términos antes mencionados, LinuxCabal tendrá > derecho a los daños y perjuicios que esto le cause. > > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users