Hi all,

my tool needs to get aware of any changes in the file system under a given 
directory (e.g. /home), for example if 

• a new file is created in /home/tommy/Documents
• a file is removed anywhere below /home
• a file /home/herbert/test.conf gets modified
• ...

I think I have once seen some method of NSFileManager or NSWorkspace that does 
exactly that, but I don't know this for sure and I can't find anything suitable 
in the class references.

Any idea? 

I could for sure iterate through the dir with contentsOfDirectoryAtPath: and 
compare the size and attributes of any file with log entries, but this seems 
rather cumbersome! :-(

Hints greatly appreciated!

Thanks a lot,

 Andreas


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to