==== Pyinotify ==== License: MIT License Project URL: http://trac.dbzteam.org/pyinotify/ ==== Dependencies ==== - Linux >= 2.6.13 - Python (CPython) >= 2.4 - Libc >= 2.4 - ctypes (already included with Python >= 2.5) - Epydoc (optional, needed to generate docstrings) ==== Install ==== -> Install from the distributed tarball # Choose your Python interpreter: either python, python2.6, python3.0,.. # Replacing XXX accordingly with your previous choice type: $ sudo pythonXXX setup.py install -> OR install with "Easy Install" (currently seems to work only for Python2) $ wget http://peak.telecommunity.com/dist/ez_setup.py $ sudo python ez_setup.py $ sudo easy_install pyinotify ==== Watch a directory ==== Install pyinotify and run this command from a shell: $ python -m pyinotify -v /my-dir-to-watch