#fswatch is a file watch program.
fswatch is a tool that monitors files and directories using platform-specific or agnostic programs and reports the results to stdout. fswatch can monitor many files at once, supports regex for matching or excluding files, and can report various details about the files that may have changed.
Website 🔗️: http://emcrisostomo.github.io/fswatch
apt 📦️: fswatch