• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Identifying "LN" type aliases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Identifying "LN" type aliases


  • Subject: Identifying "LN" type aliases
  • From: Brian Johnson <email@hidden>
  • Date: Thu, 16 Sep 2004 22:41:42 -0700 (PDT)


Hi all:

I have a script that walks a folder structure and does different things with the file it finds there, depending on what they are. Plain old text and binary files are not a problem, and I've learned to tell (old fashioned) alias files and folders from their more substantial brethern, but I'm really not sure how to tell if the 'file' whose name I got from "list folder" is a link (made with "ln -s") or not. "Info for" seems to treat it as the real mccoy (alias:false, type: and creator: codes identical to the original..) but it's not.

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?

 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


  • Follow-Ups:
    • Re: Identifying "LN" type aliases
      • From: "Adam K. Wuellner" <email@hidden>
  • Prev by Date: Re: Count lines in a textfile
  • Next by Date: Re: Count lines in a textfile
  • Previous by thread: Re: Count lines in a textfile
  • Next by thread: Re: Identifying "LN" type aliases
  • Index(es):
    • Date
    • Thread