aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-12-27 15:47:09 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2013-12-27 15:47:09 +0200
commitfc45428b4be10d8e1da9b2d6a30440ae92205d1e (patch)
treede5cbec09c5ac5646a3e426aaba7daa1ecaea5a0 /doc
parentbfc2223856454649630c9f67f40b3227e339f5b8 (diff)
downloaddirevent-fc45428b4be10d8e1da9b2d6a30440ae92205d1e.tar.gz
direvent-fc45428b4be10d8e1da9b2d6a30440ae92205d1e.tar.bz2
Update dircond.conf.5
Diffstat (limited to 'doc')
-rw-r--r--doc/dircond.conf.522
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/dircond.conf.5 b/doc/dircond.conf.5
index 255a524..c257402 100644
--- a/doc/dircond.conf.5
+++ b/doc/dircond.conf.5
@@ -13,7 +13,7 @@
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with dircond. If not, see <http://www.gnu.org/licenses/>.
-.TH DIRCOND.CONF 5 "June 4, 2013" "DIRCOND" "Dircond User Reference"
+.TH DIRCOND.CONF 5 "December 27, 2013" "DIRCOND" "Dircond User Reference"
dircond.conf \- configuration file for
.BR dircond (8).
.SH DESCRIPTION
@@ -383,6 +383,7 @@ a separate watcher.
.B watcher {
.in +4
\fBpath\fR \fIPATHNAME\fR [\fBrecursive\fR [\fINUMBER\fR]];
+.BI "file " STRING\-LIST ;
.BI "event " STRING\-LIST ;
.BI "command " STRING ;
.BI "user " NAME ;
@@ -412,6 +413,25 @@ only to the directories that are nested below that level.
Any number of \fBpath\fR statements can appear in a \fBwatcher\fR block.
At least one \fBpath\fR must be defined.
.TP
+\fBfile\fR \fISTRING\-LIST\fR;
+Selects which files are eligible for monitoring. The argument is a
+list of globbing patterns (in the sense of
+.BR fnmatch (3))
+and/or extended regular expressions (
+.BR regex (7))
+one of which the file name must match in
+order for the watcher to act on it. Regular expressions must
+be surrounded by a pair of slashes, optionally followed by the
+following flags:
+.RS
+.TP
+.B b
+Use basic regular expressions.
+.TP
+.B i
+Enable case-insensitive matching.
+.RE
+.TP
\fBevent\fR \fISTRING\-LIST\fR;
Configures the filesystem events to watch for in the directories declared by
the \fBpath\fR statements. The argument is a list of event names. Both

Return to:

Send suggestions and report system problems to the System administrator.