From: Eric Bollengier Date: Wed, 8 Jun 2011 08:54:58 +0000 (+0200) Subject: Fix #1742 about trailing slash in exclude {} X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fheads%2FBranch-5.0;p=bacula%2Fdocs Fix #1742 about trailing slash in exclude {} --- diff --git a/docs/manuals/en/main/fileset.tex b/docs/manuals/en/main/fileset.tex index a0675bcf..d8655bfd 100644 --- a/docs/manuals/en/main/fileset.tex +++ b/docs/manuals/en/main/fileset.tex @@ -1226,7 +1226,7 @@ FileSet { File = /usr/lib/another_file } Exclude { - File = /tmp + File = /tmp # don't add trailing / } } \end{verbatim} @@ -1545,7 +1545,8 @@ RunBeforeJob} directive. You may also include full filenames or directory names in addition to using wild-cards and {\bf Exclude=yes} in the Options resource as specified above by simply including the files to be excluded in an Exclude resource within the -FileSet. For example: +FileSet. It accepts wild-cards pattern, so for a directory, don't add a trailing +/. For example: \footnotesize \begin{verbatim} @@ -1563,7 +1564,7 @@ FileSet { } Exclude { File = /proc - File = /tmp + File = /tmp # Don't add trailing / File = .journal File = .autofsck }