]> git.sur5r.net Git - bacula/docs/commitdiff
Document the @| command to include all files in a directory
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 10 Nov 2009 14:56:11 +0000 (15:56 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 10 Nov 2009 14:56:11 +0000 (15:56 +0100)
docs/manuals/en/main/configure.tex

index 075215666b4186db160d690a1927ded953244a78..4a2dece6849a18571621c3376c8f612b22e65bfe 100644 (file)
@@ -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 }