filewatcherd.8 (1718B)
1 .\" Copyright (c) 2015, Natacha Porté 2 .\" 3 .\" Permission to use, copy, modify, and distribute this software for any 4 .\" purpose with or without fee is hereby granted, provided that the above 5 .\" copyright notice and this permission notice appear in all copies. 6 .\" 7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 .Dd October 20, 2015 15 .Dt FILEWATCHERD 8 16 .Os 17 .Sh NAME 18 .Nm filewatcherd 19 .Nd run commands in response to file changes 20 .Sh SYNOPSIS 21 .Nm 22 .Op Fl dh 23 .Op Fl w Ar delay_ms 24 .Ar watchtab 25 .Sh DESCRIPTION 26 .Nm 27 is a daemon inspired by cron, that run commands based on file 28 changes instead of time. 29 In principle it is similar to incron, but it's simpler, more limited, 30 and does not depend on anything outside of FreeBSD base. 31 .Pp 32 .Ar watchtab 33 describes which paths and what events to watch, and commands to run 34 when triggered. 35 .Pp 36 The options are as follows: 37 .Bl -tag -width "foo" 38 .It Fl d , Fl Fl foreground 39 Don't fork to background and log to stderr. 40 .It Fl h , Fl Fl help 41 Display help text. 42 .It Fl w Ar delay_ms , Fl Fl wait Ar delay_ms 43 Wait that number of milliseconds after 44 .Ar watchtab 45 changes before reloading it. 46 .El 47 .Sh SEE ALSO 48 .Xr watchtab 5 49 .Sh AUTHORS 50 .Nm 51 has been mostly developed and is maintained by 52 .An Natasha Qo Kerensikova Qc Porte .