This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 3a69d9575023095f50460c843169f8f9c353baae
tree b2c950a5ac540d831382ea3eee22191eacf2fb33
parent 5fcdc83765429d3155a554c26c8d0b2a56e16c27
tree b2c950a5ac540d831382ea3eee22191eacf2fb33
parent 5fcdc83765429d3155a554c26c8d0b2a56e16c27
monitdir /
| name | age | message | |
|---|---|---|---|
| |
README.markdown | ||
| |
monitDir.rb | ||
| |
monitDird |
README.markdown
About
Monitors a directory at given interval for file additions/subtractions. When a file is added or removed it will either print said file or perform an action as specified in command line arguments. Best run as daemon
Usage
monitDir.rb -d [directory to monitor] [options]
use monitDir.rb -h for more info
Options
-d, --directory Directory to monitor (required)
-r, --recursive Monitor subdirectories too (default = off)
-i, --interval Time between polls, in seconds (default = 5)
-e, --execute Command to execute when directory changes
-p, --pass-file Used in conjunction with -e, filenames are passed as argument to action
-h, --help Displays help message
-v, --version Display the version, then exit
Author
Jerod Santo, email = "moc.liamg@otnas.dorej".reverse
Copyright
Copyright (c) 2008 Jerod Santo. Licensed under the MIT License








