• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: monitoring file system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monitoring file system


  • Subject: Re: monitoring file system
  • From: Robert Martin <email@hidden>
  • Date: Mon, 25 Aug 2008 12:48:54 -0400

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, changed, renamed etc. I use mySQL/sqlLite, which allows me to figure out what's changed with a few 'Join' statements, but any store will work in conjunction with NSSets.


On Aug 25, 2008, at 10:21 AM, MAnish Billore wrote:

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 .

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >monitoring file system (From: "MAnish Billore" <email@hidden>)

  • Prev by Date: Re: not able to set NSTextFiled font
  • Next by Date: Re: Semi-transparent, blurred NSWindow background?
  • Previous by thread: Re: monitoring file system
  • Next by thread: not able to set NSTextFiled font
  • Index(es):
    • Date
    • Thread