Link to home
Start Free TrialLog in
Avatar of rcovington
rcovington

asked on

Mac File Change Event

Does OS X have an easy OS hook to detect file changes in the filesystem?

What I need is a way to detect when a user writes to a filesystem in real time - as you might have in a virus scanner that needs to scan any changes that get written to the filesystem.

ASKER CERTIFIED SOLUTION
Avatar of brettmjohnson
brettmjohnson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rcovington
rcovington

ASKER

Thanks!  That gave me a starting point to solve my issue. For anyone else going down this road, in addition to FNSubscribe, OS X has the kqueue interface which also provides some of this information.

Thanks for the quick response.