• 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: Tracking files moved by the finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking files moved by the finder?


  • Subject: Re: Tracking files moved by the finder?
  • From: David Carlisle <email@hidden>
  • Date: Tue, 29 Jan 2008 22:36:51 -0700

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:
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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Tracking files moved by the finder?
      • From: Eric Schlegel <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>)

  • Prev by Date: Re: The mouse is where?
  • Next by Date: Re: Tracking files moved by the finder?
  • Previous by thread: Re: Tracking files moved by the finder?
  • Next by thread: Re: Tracking files moved by the finder?
  • Index(es):
    • Date
    • Thread