watch-file-count is a CLI tool that monitors a directory and counts the files containing a specific string in their names.
This tool notifies the user each time the count of matching files reaches a multiple of the specified number.
Usage
$ watch-file-count [path name] [search string]
path name: The path to the directory to monitor.
search string: The string to search for in the file names.
Options
-h: Display help information.
-c [number]: Set the number of matching files that triggers a notification.
Installation
Ensure Go is installed on your system.
Run the following command to install the tool directly from GitHub:
$ go install github.com/shuuuta/watch-file-count@latest