Options (1)
-n, --max-argsbooleanRun a Bash command on file creation, update, or deletion
Example:
fswatch {{path/to/file}} | xargs {{[-n|--max-args]}} 1 {{bash_command}}Examples (4)
Run a Bash command on file creation, update, or deletion
Watch one or more files and/or directories
Print the absolute paths of the changed files
made by @shridhargupta | data from tldr-pages