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