收录日期:2021/02/27 21:17:23 时间:2009-06-30 16:54:47 标签:osx,file,filesystems,fsevents

In Windows OS, MS provides ReadDirectoryChangesW and FindFirstChangeNotification API to dectect new or modified file, does the Mac OSX provide equal function as well?

In Mac OS X Leopard monitor file changes with the File System Events API

See http://pypi.python.org/pypi/MacFSEvents/0.2.1 for a Python implementation.

OS X provides a framework called FSEvents, I don't know much about the specifics of it though.