Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking files moved by the finder?



Thanks for the suggestions.

FSEvents doesn't seem to be detailed enough.

Aliases are interesting, but would multiply my files too much. I found they track moved files with a unique file ID, perhaps NSFileSystemFileNumber in the file attributes, but I don't see a way in NSFileManager to backtrack to a file path from that number.

Carbon's NSRef suggested in the other posted response here looks interesting. www.cocoadev.com/index.pl?FSRef notes that "NathanDay's NDAlias provides a Cocoa way to interface with FSRef" so I will investigate that approach.

DC

On Jan 29, 2008, at 3:38 PM, John Stiles wrote:

Aliases are probably your best bet. They can easily track a file that's been moved.
Failing that, if you can require Leopard, FSEvents may work.



David Carlisle wrote:
Is there any chance the finder sends out some kind of notification of when it moves a file? I want to have several files linked to each other, and have a way to automatically maintain those links even when the finder moves one of the files.

Probably not, but I thought I'd ask.
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Tracking files moved by the finder? (From: David Carlisle <email@hidden>)
 >Re: Tracking files moved by the finder? (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.