Re: Copy Bundle Resources - a Question
Re: Copy Bundle Resources - a Question
- Subject: Re: Copy Bundle Resources - a Question
- From: Chris Espinosa <email@hidden>
- Date: Mon, 29 Jun 2009 15:35:31 -0700
On Jun 29, 2009, at 1:52 PM, Mark Wagner wrote:
And I was hopeful....
But no - the Finder comments are still MIA...
This kind of inconsistency just makes me feel yucky somewhere
inside...
Why does it have to be this way?
Copy a file... just copy the file...
Finder comments have always been fragile. If they haven't gotten it
right in the past 25 years, what makes you think they'll do so now?
Finder comments are an application-specific data structure. That's
why they're called "Finder" comments, not "File System" comments.
The Finder only stores an index number to the comments in the file
system. The comment text itself is maintained in Finder-private
store. The Finder copies Finder comments when it copies files and
directories, but no other method of copying files (cp, ftp, svn, etc.)
will copy Finder comments.
You should not rely on Finder comments as a persistent file metadata
mechanism. Consider using Extended Attributes instead, using setxattr
and getxattr. Most low-level components in Mac OS X propagate
extended attributes across file systems and archive mechanisms.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden