On Wed, 11 Nov 2009, Graham Keeling wrote:
> ...and looking at the code now, it seems to me that what you want isn't
> possible without changing the code - or doing something like the following:
>
> bconsole << EOF
> add pool=poolname
> 1
> volumebasename
> 1
> EOF
or
echo add\\\n$NumVols\\\n$VolBaseName\\\n$StartNumber | bconsole
If you need to do it in a bash script.
(works for me, YMMV. HTH. HAND)
AB
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|