• 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: FSEventStream and rename notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSEventStream and rename notifications


  • Subject: Re: FSEventStream and rename notifications
  • From: James Bucanek <email@hidden>
  • Date: Mon, 07 Mar 2016 11:04:49 -0700


Jim Luther
March 7, 2016 at 9:01 AM

On Mar 6, 2016, at 5:04 PM, James Bucanek <email@hidden> wrote:

A simpler approach would probably be to create a bookmark of the original file and make sure the bookmark data prefers the file ID (kCFURLBookmarkCreationPreferFileIDResolutionMask). Then, all you have to do is resolve the bookmark and get the file's new name and location (from the returned file URL). Very fast, very neat.

That won’t work. kCFURLBookmarkCreationPreferFileIDResolutionMask was never implemented and the option didn’t make sense anyway (if anything, it should have been a resolution option, not a creation option).
Well, that's very sad. :(

Nevertheless, bookmarks must still do something equivalent, correct?

That is, I can create a bookmark for a file, rename/move that file, and the bookmark will still find it.

James
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: FSEventStream and rename notifications
      • From: Thomas Tempelmann <email@hidden>
References: 
 >FSEventStream and rename notifications (From: tridiak <email@hidden>)
 >Re: FSEventStream and rename notifications (From: tridiak <email@hidden>)
 >Re: FSEventStream and rename notifications (From: James Bucanek <email@hidden>)
 >Re: FSEventStream and rename notifications (From: Jim Luther <email@hidden>)

  • Prev by Date: Re: FSEventStream and rename notifications
  • Next by Date: Re: FSEventStream and rename notifications
  • Previous by thread: Re: FSEventStream and rename notifications
  • Next by thread: Re: FSEventStream and rename notifications
  • Index(es):
    • Date
    • Thread