Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 295 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 295 Bytes

directory-monitor-example

Quick example code on how to monitor a directory in Python

Setup

pip install -r ./requirements.txt

Run

python3 directory-monitor.py --polling-time 2 --polling-time 2 --directories-to-monitor /tmp/monitor1 /tmp/monitor2 /tmp/monitor3