Helo, I want to get file metadata into a propertyList.
My first question is how to get the metadata for a specific file. I gather that there is not a way to get a NSMetadataItem for a specific file, other than to perform a NSMetadataQuery - which seems silly, since I have the file path to begin with. So I am considering to use an NSTask with mdls. Is that a good choice? The second question is about how to parse the output of mdls. I am using NSScanner and a couple of NSString methods to distill the info I need. I am surprised that there is not a more succinct way of doing this. Am I overlooking something? Thanks a lot for any insight you might provide, Rainer_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com