From: Eric Bollengier Date: Wed, 8 Jun 2011 08:54:58 +0000 (+0200) Subject: Fix #1742 about trailing slash in exclude {} X-Git-Tag: Release-5.2.1~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c8a6169e87512c8619d84b648019dc0e4c14634b;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 }