monitoring file system

2008-08-25 Thread MAnish Billore
Hi, I am developing an image browser in that user can watch photo from chosen directory. In this application I want to give functionality that whenever user add or delete any photo from storage media application should know it. Could any buddy give me idea about it . Thanks Bill Manish

Re: monitoring file system

2008-08-25 Thread Negm-Awad Amin
Am Mo,25.08.2008 um 16:21 schrieb MAnish Billore: Hi, I am developing an image browser in that user can watch photo from chosen directory. In this application I want to give functionality that whenever user add or delete any photo from storage media application should know it. Could any

Re: monitoring file system

2008-08-25 Thread Robert Martin
Check out: http://developer.apple.com/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/chapter_2_section_1.html Once you get that working, you just have to cache the 'old' snapshot for your directory tree, and implement a 'diff' to figure out what's been added, deleted,

Re: monitoring file system

2008-08-25 Thread Nate Weaver
I think he wants to know when the directory contents change no matter what changes them (i.e., not his app). I'd look into the FSEvents framework or kqueue. On Aug 25, 2008, at 11:16 AM, Negm-Awad Amin wrote: Am Mo,25.08.2008 um 16:21 schrieb MAnish Billore: Hi, I am developing an image

Re: monitoring file system

2008-08-25 Thread Marcelo Alves
Hi, I am developing an image browser in that user can watch photo from chosen directory. In this application I want to give functionality that whenever user add or delete any photo from storage media application should know it. Could any buddy give me idea about it . You can use a