Hello,
2014-08-11 15:44 GMT+02:00 Markus "Shorty" Uckelmann :
> On 11.08.2014 15:09, Andreas Nastke wrote:
> > shouldn't that be typed:
> >
> > "... -exec \{\} \;"
> >
> > ?
>
> Sadly not. I tried this in /etc/bacula/bacula-dir.conf:
>
> @|"find /etc/bacula/conf.d/clients -name '*.conf' -type
ory
From: Shorty Markus Uckelmann mailto:sho...@koeln.de>>
Date: Monday, August 11, 2014 at 9:58 AM
To:
"bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>"
mailto:bacula-users@lists.sourceforge.net>>
Subject: Re: [Bacula-users] Pars
On 11.08.2014 12:31, Markus "Shorty" Uckelmann wrote:
> I wanted to add a new client and after a reload (echo "reload" |
> /usr/sbin/bconsole) the following error popped up:
>
> 11-Aug 10:47 bacula-dir: ERROR in parse_conf.c:938 Config error:
> Expected a Resource name identifier, got: find: : l
On 11.08.2014 15:09, Andreas Nastke wrote:
> shouldn't that be typed:
>
> "... -exec \{\} \;"
>
> ?
Sadly not. I tried this in /etc/bacula/bacula-dir.conf:
@|"find /etc/bacula/conf.d/clients -name '*.conf' -type f -exec echo
\{\} \;"
And after a reload it threw the same error:
11-Aug 15:4
On 11.08.2014 14:26, Birger Blixt wrote:
> 2014-08-11 12:31, Markus "Shorty" Uckelmann skrev:
>> -name '*.conf' -type f -exec echo @{} ;
>> -name '*.conf' -type f -exec echo {} \; | wc -l
> Didn't you miss a backslash there?
Nope! I really thought you got me here, but it is what Bacula wrote into