Re: Identifying "LN" type aliases
Re: Identifying "LN" type aliases
- Subject: Re: Identifying "LN" type aliases
- From: Brian Johnson <email@hidden>
- Date: Fri, 17 Sep 2004 10:51:40 -0700 (PDT)
On Fri, 17 Sep 2004, Adam K. Wuellner wrote:
On Sep 17, 2004, at 12:41 AM, Brian Johnson wrote:
So, how best to correctly identify
MacOS alias files and folders ("Info for" says "alias:true")
Unix 'alias' (LN) files and foldlers ??? (something with do shell
script and perl I suspect)
And, isn't there a distinction between 'hard' and 'soft' links?
All files are pretty much hard links. A hard link is a file name and
location, or directory entry, assigned to an inode. An inode stores
<really good stuff snipped out>
THANKS for the clear and complete response, and the snippet of code ... A
couple of follow-up issues/thoughts...
1. I had been using "choose file" to explore this, but it seems to resolve
the link before extracting the type/creator info. So I was comparing
apples to apples ... ouch.
2. I extended your demo a hair by making a copy of the temp folder within
the temp folder, and creating Finder alias and symbolic link versions
of it. JFTR, here's what the script said about those
Name: temp alias
Alias: true
Creator: MACS
Type: fdrp
Kind: unk
Size: 674.0
Name: temp.lnk
Alias: true
Creator: rhap
Type: slnk
Kind: unk
Size: 20.0
3. Note that "Kind" is 'unk' above. AS didn't like "kind" OMM
(OS10.2.8, AS1.9.1) so I dummied it in.
Anyway, Thanks again. It's pretty clear that careful use of "info for"
should work, if I just make sure I'm asking about the right file!
Brian Johnson, Dept of Architecture, University of Washington, Seattle
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden