fswatch
A cross-platform file change monitor. More information: https://emcrisostomo.github.io/fswatch/.
- Run a Bash command on file creation, update, or deletion:
fswatch | xargs 1
- Watch one or more files and/or directories:
fswatch | xargs 1
- Print the absolute paths of the changed files:
fswatch | xargs 1 -I _ echo _
- Filter by event type:
fswatch --event | xargs 1
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
