watch-file-count

command module
v0.0.0-...-e030116 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 9 Imported by: 0

README

Watch File Count

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

  1. Ensure Go is installed on your system.

  2. Run the following command to install the tool directly from GitHub:

     $ go install github.com/shuuuta/watch-file-count@latest
    

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL