Stephan Holl wrote:
> Hello Phil,
>
> On Tue, 31 Jan 2006 15:07:35 -0500 Phil Stracchino
> <[EMAIL PROTECTED]> wrote:
>
>
>>Stephan Holl wrote:
>>
>>>I am trying to implement all dot-files into a fileset. but cannot
>>>manage it correctly. Perhaps someone has done that successfully.
>>>
>>>
>>># TEST-fileset
>>>FileSet {
>>> Name = "testfileset"
>>>
>>> Include {
>>> Options {
>>> wildfile = "*."
>>> }
>>> Options {
>>> Exclude = yes
>>>
>>> RegexFile = ".?*$"
>>> }
>>> File="/home/user"
>>> }
>>>
>>>}
>>>
>>>Perhaps anybody has done this kind of task successfully, because I
>>>do not have any luck using regex.
>>
>>I'm not sure why you'd want JUST the dotfiles, but the usual Unix
>>shell regex for selecting dotfiles and ONLY dotfiles is: .??*
>
>
> Thanks for that. I will give it a try asap. So only files, no
> dot-folders I guess.
>
> As I am an apsolute RegEx-Dummy, I would kindly ask you to help out
> here.
Perhaps my choice of words was misleading. In the Unix shell, the regex
.??* will select any file OR FOLDER whose name begins with a dot and
then contains at least two additional characters. This regex is
typically ised to select all dotfiles (and folders) without also
selecting . and .. at the same time.
The same principle should be applicable to a Bacula file selection regex.
I am curious, though, why you want to back up the dotfiles, but not any
other contents of the directory.
--
Phil Stracchino [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
Mobile: 603-216-7037 Landline: 603-886-3518
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users