Linux文件系统事件监视
pyinotif的Python项目详细描述
#pyinotify
- 许可证:麻省理工学院
- 项目URL:[http://github.com/seb-m/pyinotify](http://github.com/seb-m/pyinotify)
- 项目wiki:[http://github.com/seb-m/pyinotify/wiki](http://github.com/seb-m/pyinotify/wiki)
- api文档:[http://seb-m.github.com/pyinotify](http://seb-m.github.com/pyinotify)
##依赖关系
- Linux≥2.6.13
- python≥2.4(含python 3.x)
##安装
###从pypi获取当前稳定版本,并使用pip
# To install pip follow http://www.pip-installer.org/en/latest/installing.html $ sudo pip install pyinotify
###或者直接从源代码安装pyinotify
# Choose your Python interpreter: either python, python2.7, python3.2,.. # Replacing XXX accordingly, type: $ sudo pythonXXX setup.py install
##查看目录
安装pyinotify并从shell运行此命令:
$ python -m pyinotify -v /my-dir-to-watch