Re: Filesets: splitting a huge directory

"Stefan G. Weichinger via Bacula-users" <[email protected]> Thu, 8 Jan 2026 12:11:26 +0100
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
Am 08.01.26 um 11:20 schrieb Martin Simmons:
>>>>>> 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.

"*" didn't work.

I agreee it's strange. Took it from

https://docs.baculasystems.com/BETechnicalReference/Director/DirectorResourceTypes/FilesetResource/index.html

from that "/home/b" example ...

It seems to select the files/dirs I want ... at least in my estimate-test.