updated README

This commit is contained in:
Albert S. 2016-01-02 14:23:43 +01:00
parent 58db52dfc9
commit 26cea45459
1 changed files with 3 additions and 6 deletions

9
README
View File

@ -1,18 +1,15 @@
What is adhocify? What is adhocify?
================= =================
adhocify uses inotify to watch for file system events. adhocify uses inotify to watch for file system events.
Once an event occurs a script will be launched. Once an event occurs it can execute a script.
It can pass the path of the file the event occured on to this script. The path of the file and the event will be passed to that script.
Requirements Requirements
============ ============
adhocify only runs on Linux. You need a kernel and libc with inotify support. adhocify only runs on Linux. You need a kernel and libc with inotify support.
How do I use adhocify?
======================
Launch adhocify without any arguments and you will get the options listed.
Examples: Examples:
=========
./adhocify -w /tmp/ /home/core/myscript.sh ./adhocify -w /tmp/ /home/core/myscript.sh
------------------------------------------ ------------------------------------------
Watches for IN_CLOSE_WRITE events in /tmp/, launches script /home/core/myscript.sh Watches for IN_CLOSE_WRITE events in /tmp/, launches script /home/core/myscript.sh