Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Pyinotify is a Python package used for monitoring filesystems events on Linux platforms with inotify.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 common
Octocat-spinner-32 old
Octocat-spinner-32 python2
Octocat-spinner-32 python3
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 ACKS
Octocat-spinner-32 COPYING
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.md
Octocat-spinner-32 setup.py
README.md

Pyinotify

Dependencies

  • Linux > 2.6.13
  • Win > 2000/NT
  • Python > 2.4

Install

Install from the distributed tarball

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

Or install it with easy_install (currently seems to be available only for Python2)

# Install easy_install
  $ apt-get install setuptools
# Or alternatively, this way
  $ wget http://peak.telecommunity.com/dist/ez_setup.py
  $ python ez_setup.py
# Finally, install Pyinotify
  $ easy_install pyinotify

Watch a directory

Install pyinotify and run this command from a shell:

$ python -m pyinotify -v /my-dir-to-watch
Something went wrong with that request. Please try again.