fswatch is a cross-platform command-line utility and frontend to libfswatch that reports changes to files and directories as they happen. It’s designed for automation, scripting, and development workflows where commands need to react to filesystem activity, and it uses the most suitable monitoring backend available on the host platform.
This is free and open source software.
Key Features
- Recursive directory monitoring.
- Path filtering with include and exclude regular expressions.
- Customizable record format for scripting and integration.
- Support for periodic idle events.
- Uses native monitoring backends where available, including inotify on Linux.
Website: emcrisostomo.github.io/fswatch/
Support:
Developer: Enrico Maria Crisostomo
License: GNU General Public License v3.0

fswatch is written in C++. Learn C++ with our recommended free books and free tutorials.
Related Software
| watch alternatives | |
|---|---|
| viddy | Modern watch command. It features in our Top 100 TUI apps |
| hwatch | Results are scrollable and displayed. Also features in our Top 100 TUI apps |
| watchexec | Run a command when files in the current directory change |
| neowatch | Alternative to watch also written in Rust |
| ov | Feature rich terminal pager |
| chokidar | Watch file system changes |
| watcher | Watch files in a directory for changes |
| wfh | Rsync as you edit |
| reflex | Run a command when files change |
| rwatch | Rust implementation of watch |
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.