如果您的操作系统支持它,您可以查看
incrond.可以监控的事件在
incrontab中定义.也许您要查找的事件是
原文链接:/bash/385458.htmlIN_CLOSE_WRITE File opened for writing was closed (*)
或与…结合使用
IN_CREATE File/directory created in watched directory (*)
注意
When monitoring a directory,… the events above can occur for files in the directory,in which case the name field in the returned event data identifies the name of the file within the directory.