Our great sponsors
-
fswatch
A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Reloader
A Kubernetes controller to watch changes in ConfigMap and Secrets and do rolling upgrades on Pods with their associated Deployment, StatefulSet, DaemonSet and DeploymentConfig – [✩Star] if you're using it!
What about using https://github.com/emcrisostomo/fswatch ?
I've used it in a CronJob to tigger a copy to s3 after backup process occurs. https://github.com/azman0101/s5cmd-fswatch/blob/main/Dockerfile.curl
That being said, I use configmap-reloader with Prometheus. As far as I know, and despite its name, it watches a mount point and can be used for whatever type of file.
Related posts
- MakeMake: Generate make files from C source code
- Are there any CLIs or good ways on macOS to real-time / continuously sync two folders on the same drive?
- File System Watcher
- Build a Rails script watcher/runner using fswatch
- Is there a way to trigger an action when a file is transfered via another computer?