Re: File event notification
Re: File event notification
- Subject: Re: File event notification
- From: Robert Martin <email@hidden>
- Date: Fri, 24 Oct 2008 11:14:45 -0400
You can do all this, but you'll have to set up a database/store to
figure out the differences. I store the nodeID/parentID modDate and
attributeChangDate as well as the path in order to get 'Delete'
'Change' 'Move' and 'Rename' - 'Add is simple!
On Oct 24, 2008, at 4:31 AM, Ardian Lazuardi wrote:
Hi Stephen,
On Oct 24, 2008, at 5:13 PM, Stephen J. Butler wrote:
On Fri, Oct 24, 2008 at 3:10 AM, Ardian Lazuardi
<email@hidden> wrote:
Is it impossible to hook the copy procedures, such like windows
programmers
using shellhook, cbthook, or api hook, so that we can intercept
the process
before system does?
You've missed the point. There *is* no copy procedure. The best you
get is the FSCopyObject, and there's no way to hook into that.
OK, i got the point.
how about my another question? is it possible to get the filename
modified from FSEvent?
By using FSEvent, we can get the changed folder path. Can we get
the modified filename exactly (deleted file's filename, created
file' filename, etc) ?
_______________________________________________
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