Python3 pyinotify 监视文件、文件夹修改

/************************************************************************************
 *                  Python3 pyinotify 监视文件、文件夹修改
 * 说明:
 *     之前没注意到这个需要在Linux系统下运行,折腾了一下才到Linux下去操作。
 *
 *                                               2017-6-7 深圳 龙华樟坑村 曾剑锋
 ***********************************************************************************/

一、参考文档:
    1. how to make pyinotify to run a program on any modification over a file?
        https://stackoverflow.com/questions/5996768/how-to-make-pyinotify-to-run-a-program-on-any-modification-over-a-file
    2. pyinotify简单实用(用于文件系统监控)
        https://my.oschina.net/zhangxu0512/blog/382867 

二、Example:
    https://github.com/ZengjfOS/ConfigureInotify

 

posted on 2017-06-07 09:57  zengjf  阅读(767)  评论(0编辑  收藏  举报

导航