Re: Filesets: splitting a huge directory

Martin Simmons <[email protected]> Thu, 8 Jan 2026 10:20:34 GMT
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
>>>>> On Thu, 8 Jan 2026 07:07:15 +0100, Stefan G Weichinger said:
> 
> with trial and error this seems to work for including files and dirs 
> starting with "d" or "D":
> 
> Fileset {
>    Name = "Filme-d"
>    Include {
>      Options {
>        WildDir = "/data/multimedia/Filme/[dD]*"
>        WildFile = "/data/multimedia/Filme/[dD]*"
>      }
>      Options {
>        Exclude = yes
>        RegexDir = "./*"
>        RegexFile = "./*"
>      }
>      File = "/data/multimedia/Filme/"
>    }
> }

Yes, you might need WildFile and RegexFile if there are files as well as
directories in /data/multimedia/Filme/.

The regex "./*" is weird though -- it means any character followed by zero or
more / characters.

__Martin