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 exits 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  further
	     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.quarterly	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.1.quarterly>

home | help