• 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: Getting/Setting FinderInfo attributes using native Cocoa API?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting/Setting FinderInfo attributes using native Cocoa API?


  • Subject: Re: Getting/Setting FinderInfo attributes using native Cocoa API?
  • From: Allan Odgaard <email@hidden>
  • Date: Sat, 15 Oct 2016 09:20:18 +0200

On 14 Oct 2016, at 23:33, Stephane Sudre wrote:

I ended up writing a category for NSManager to deal with this using
the xattr.h APIs. […]

If the goal is to copy extended attributes (as one post alluded to) then there is the `COPYFILE_METADATA` flag which can be used with x-man-page://3/copyfile

Although I seem to recall some crash issues when used with network drives, my code skips it for non-local drives with a reference to <rdar://17480649> but that report seems to have been marked “secret” so I can no longer read it…
_______________________________________________

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: Getting/Setting FinderInfo attributes using native Cocoa API?
      • From: Stephane Sudre <email@hidden>
References: 
 >Getting/Setting FinderInfo attributes using native Cocoa API? (From: Stephane Sudre <email@hidden>)
 >Re: Getting/Setting FinderInfo attributes using native Cocoa API? (From: "Gary L. Wade" <email@hidden>)
 >Re: Getting/Setting FinderInfo attributes using native Cocoa API? (From: Stephane Sudre <email@hidden>)
 >Re: Getting/Setting FinderInfo attributes using native Cocoa API? (From: "Gary L. Wade" <email@hidden>)
 >Re: Getting/Setting FinderInfo attributes using native Cocoa API? (From: Stephane Sudre <email@hidden>)

  • Prev by Date: observeValueForKeyPath:... called too often in macOS 12
  • Next by Date: Re: NSTextView tab stop count
  • Previous by thread: Re: Getting/Setting FinderInfo attributes using native Cocoa API?
  • Next by thread: Re: Getting/Setting FinderInfo attributes using native Cocoa API?
  • Index(es):
    • Date
    • Thread