From dd7b11d1b32ca970eb69d22d6667e4903d09535f Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 10 Nov 2009 15:56:11 +0100 Subject: [PATCH] Document the @| command to include all files in a directory --- docs/manuals/en/main/configure.tex | 9 +++++++++ 1 file changed, 9 insertions(+) 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 } -- 2.39.5