pttsbinet.org/x/ptt/cmd/fwatch

fwatch command

Command fwatch watches a set of files or directories and executes a command whenever one of these watch points is modified.

Usage: fwatch [options] ARG1 [ARG2 [ARG3 [...]]]

ex:
 $> fwatch -cmd '/bin/true' ./dir1 ./dir2/file1.txt
 $> fwatch -cmd '/bin/true' -r ./dir1 ./dir2/file1.txt

options:
  -cmd string
    	command to execute on trigger
  -r	enable/disable recursive mode (default true)
  -v	enable/disable verbose mode
Version
v0.0.0-20250303145539-212a2a8f82e2 (latest)
Published
Mar 3, 2025
Platform
linux/amd64
Imports
11 packages
Last checked
5 days ago

Tools for package owners.