Actually, it's to put back some of them on a newly created folder. So
right now, it just retrieves the values as NSData objects but I've
added a hook to be able to convert the data to the real objects.
the - [NSFileManager copyItemAtPath:toPath:error:] API does copy at
least the FinderInfo and Res
Ok. Your code works. I think the reason I couldn’t get it to work is when I was
using [textView insertText:mas], causing my settings to be overridden.
Thanks for help.
> On 15/10/2016, at 12:22 PM, Shane Stanley wrote:
>
> On 15 Oct. 2016, at 12:43 am, tridiak wrote:
>>
>> This works up to 12
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/copyf