Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
CATSIT-WATCH(1)		    General Commands Manual	       CATSIT-WATCH(1)

NAME
       catsit-watch -- run command when	files are modified

SYNOPSIS
       catsit-watch [-ai] [-d delay] [-f file] command ...

DESCRIPTION
       The catsit-watch	utility	runs a command each time any of	a set of files
       are written to.	If any watched files are removed or if the command ex-
       its non-zero, catsit-watch exits.

       The arguments are as follows:

       -a      Append  the  path  of  the  modified  file  to the arguments of
	       command.

       -d delay
	       Wait delay milliseconds before running the command.   Any  fur-
	       ther writes within that time do not trigger additional runs.

       -f file
	       Add file	to the set of watched files.

       -i      Run the command once initially, before watching files.

EXIT STATUS
       If  any	watched	files are removed, catsit-watch	exits with EX_TEMPFAIL
       (75).  If the command exits non-zero, catsit-watch exits	with the  same
       status.

SEE ALSO
       catsitd(8)

AUTHORS
       June Bug	<june@causal.agency>

FreeBSD	ports 15.0	       February	27, 2021	       CATSIT-WATCH(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=catsit-watch&sektion=1&manpath=FreeBSD+Ports+15.0>

home | help