CmdID

CmdID / Commands

fswatch

A cross-platform file change monitor. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run a Bash command on file creation, update, or deletion

fswatch path/to/file | xargs --max-args 1 bash_commandIdentify

Watch one or more files and/or directories

fswatch path/to/file path/to/directory path/to/another_directory/**/*.js | xargs --max-args 1 bash_commandIdentify

Print the absolute paths of the changed files

fswatch path/to/directory | xargs --max-args 1 -I _ echo _Identify

Filter by event type

fswatch --event Updated path/to/directory | xargs --max-args 1 bash_commandIdentify