updated README

This commit is contained in:
Albert S. 2016-01-02 14:23:43 +01:00
父節點 58db52dfc9
當前提交 26cea45459
共有 1 個檔案被更改,包括 3 行新增6 行删除

9
README
查看文件

@ -1,18 +1,15 @@
What is adhocify?
=================
adhocify uses inotify to watch for file system events.
Once an event occurs a script will be launched.
It can pass the path of the file the event occured on to this script.
Once an event occurs it can execute a script.
The path of the file and the event will be passed to that script.
Requirements
============
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:
=========
./adhocify -w /tmp/ /home/core/myscript.sh
------------------------------------------
Watches for IN_CLOSE_WRITE events in /tmp/, launches script /home/core/myscript.sh