In Windows OS, MS provides ReadDirectoryChangesW and FindFirstChangeNotification API to dectect new or modified file, does the Mac OSX provide equal function as well?
+5
A:
In Mac OS X Leopard monitor file changes with the File System Events API
Mark Stock
2009-03-14 04:34:18
I found the API can work only with 10.5 or above, how to support 10.3 and 10.4? Thanks in advance.
Yigang Wu
2009-03-17 12:59:00
This is why I wrote Mac OS X "Leopard" (10.5) as older Mac OS versions may require ugly hacks if they don't have this new feature. From May 2005, under 10.4: http://osxbook.com/software/fslogger/
Mark Stock
2009-03-18 00:30:56