Quanjiang / pyinotify

Monitoring filesystems events with inotify on Linux.

Home Page:http://github.com/seb-m/pyinotify/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pyinotify

Dependencies

  • Linux ≥ 2.6.13
  • Python ≥ 2.4 (including Python 3.x)

Install

Get the current stable version from PyPI and install it with pip

# To install pip follow http://www.pip-installer.org/en/latest/installing.html
$ sudo pip install pyinotify

Or install Pyinotify directly from source

# Choose your Python interpreter: either python, python2.7, python3.2,..
# Replacing XXX accordingly, type:
$ sudo pythonXXX setup.py install

Watch a directory

Install pyinotify and run this command from a shell:

$ python -m pyinotify -v /my-dir-to-watch

About

Monitoring filesystems events with inotify on Linux.

http://github.com/seb-m/pyinotify/wiki

License:MIT License


Languages

Language:Python 96.6%Language:C 3.1%Language:Makefile 0.2%Language:Shell 0.1%