W dniu 19.11.2010 12:49, Alan Brown pisze:
>
> Does anyone know if there's a way of only using 3 numeric digits?
>
> ie 001-999 instead of 0001-9999
Hi,
You can use the Counter Resource. For example:
Counter {
Name = "somename"
Maximum = 999
Catalog = "catalog resource name"
}
Pool {
....
....
Label Format = "File-${somename+:p/3/0/r}"
}
Here you can find more information about the Counter Resource:
http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION0018190000000000000000http://www.bacula.org/fr/dev-manual/Variable_Expansion.html#SECTION003350000000000000000
Best regards
gani
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users