Re: Given a POSIX Path...
Re: Given a POSIX Path...
- Subject: Re: Given a POSIX Path...
- From: Doug McNutt <email@hidden>
- Date: Mon, 6 Dec 2010 09:19:39 -0700
At 09:29 -0600 12/6/10, Luther Fuller wrote:
On Dec 6, 2010, at 9:12 AM, Mark J. Reed wrote:
I sit corrected; the comments seem to be keyed by filename. So if I rename a file with "mv", its comment disappears. If I then rename it back to the original name, the comment reappears.
Further, if I create an entirely different file but give it the original filename, it inherits the comment associated with the name.
A few caveats - the presence of an active alias to the file appears to cause the comment to follow it through the mv. And a new file with the original name doesn't seem to get the comment if the original file still exists under a new name - but as soon as the original file is removed, the comment appears on the new file.
While waiting - forever - for OS 7 we were told that HFS 32 bit fileIDs were about to be changed to include files as well as directories. Aliases were created and used the fileID which never changed.
I believe Apple's aliases use fileIDs when they can but goes other routes when the alias is not on the same logical disk as the file pointed to.
I think the real question here is whether a mv command preserves the fileID. That's a concept that might be similar to an inode number in UNIX but OS X still uses Apple's HFS file system - doesn't it?
--
--> Protons have mass? I didn't even know they were Catholic. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden