From: Eric Bollengier Date: Tue, 10 Nov 2009 14:56:11 +0000 (+0100) Subject: Document the @| command to include all files in a directory X-Git-Tag: Release-5.0.0~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd7b11d1b32ca970eb69d22d6667e4903d09535f;p=bacula%2Fdocs Document the @| command to include all files in a directory --- diff --git a/docs/manuals/en/main/configure.tex b/docs/manuals/en/main/configure.tex index 07521566..4a2dece6 100644 --- a/docs/manuals/en/main/configure.tex +++ b/docs/manuals/en/main/configure.tex @@ -134,6 +134,15 @@ so by including other files using the syntax @{\bf filename} where {\bf filename} is the full path and filename of another file. The @filename specification can be given anywhere a primitive token would appear. +If you wish include all files in a specific directory, you can use the following: +\begin{verbatim} +# Include subfiles associated with configuration of clients. +# They define the bulk of the Clients, Jobs, and FileSets. +# Remember to "reload" the Director after adding a client file. +# +@|"sh -c 'for f in /etc/bacula/clientdefs/*.conf ; do echo @${f} ; done'" +\end{verbatim} + \label{DataTypes} \subsection{Recognized Primitive Data Types} \index[general]{Types!Recognized Primitive Data }