File-level filesystem change notification in Mac OS X

后端 未结 4 851
难免孤独
难免孤独 2021-02-01 04:08

I want my code to be notified when any file under (either directly or indirectly) a given directory is modified. By \"modified\", I mean I want my code to be notified whenever

4条回答
  •  后悔当初
    2021-02-01 04:20

    You might want to check out man fs_usage, though it's not specific to a directory and requires root privileges.

提交回复
热议问题