10000 GitHub - schumath/FileCountAlert: A small Windows App build with Rust that sends a message to a MS Teams webhook in case of to many files in one directory
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A small Windows App build with Rust that sends a message to a MS Teams webhook in case of to many files in one directory

License

Notifications You must be signed in to change notification settings

schumath/FileCountAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileCountAlert

A small Windows App build with Rust that checks the number of files and directories in a directory (not recursive) and if there are to many files it performs an http post request to a MS Teams webhook. This can be used e.g. as an alert.

The config is done in the config.yml. This file has to be in the same folder as the file_count_alert.exe file. After execution the program stopps automatically. To perform the check again you have to execute it again.

Settings:

  • path: local path of the directory you want to monitor
  • file_limit: the maximum number of files in the directory without sending the http request
  • get_url: a url of the MS Teams Webhook you want to call.

Building

To build a release version (on Windows) you can run the build.bat script

About

A small Windows App build with Rust that sends a message to a MS Teams webhook in case of to many files in one directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0