HUB
Sign inSign up

koehler/tiny-hotfolder

By koehler

•Updated almost 5 years ago

This little script watches a directory using inotify and runs a shell script after some seconds

Image
0

366

koehler/tiny-hotfolder repository overview

⁠TinyHotfolder

This little shell script watches a folder and runs a user defined shell script when a new file appears!


##Env Vars

DELAY=5 Sets delay for running the handler script. (To avoid currupted files)

FILTER=.*XML$ Sets filter for inotifywatch what files to look out for

⁠Docker Image

https://hub.docker.com/r/koehler/tiny-hotfolder⁠ koehler/tiny-hotfolder:latest

Tag summary
Recent tags
Content type
Image
Digest
Size
4.9 MB
Last updated
almost 5 years ago
docker pull koehler/tiny-hotfolder:latest