piotrekno1 / file-change-monitor

Simple python script executing shell command upon file change

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File Change Monitor

A simple Python script for executing shell tasks upon monitored file change.

Usage

  • '-i', '--interval', How often to check for updates (seconds), default=1
  • '-p', '--pattern', Pattern for files to minitor, default='.*'
  • '-c', '--cmd', Command to execute upon file change
  • '-v', '--verbose', Verbose mode

About

Simple python script executing shell command upon file change


Languages

Language:Python 100.0%