• 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
Re: Alias Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alias Files


  • Subject: Re: Alias Files
  • From: Doug McNutt <email@hidden>
  • Date: Wed, 12 Sep 2007 16:20:35 -0600

At 16:54 -0500 9/12/07, Luther Fuller wrote:
>My experience is that in a list of file references, Mac 'Alias Files'  are not resolved to their original item, but symlinks are  automatically resolved to their original item. Perhaps a solution to  my problem would be to get the list of files using a 'do shell  script'. But, I'm not sure what the proper command might be.

 do shell script "cd $HOME; ls -F"

returns a line-end separated string in which it adds a character to each file name. "@" indicates a symbolic link.

man ls in Terminal.app for more. The new shell will not know about your current working directory as it starts up. A full path is required for the cd command.

You might also look at the "file" command which is a bit like Finder's get info but knows about UNIX links.

--
--> On the eighth day, about 6 kiloyears ago, the Lord realized that free will would make man ask what existed before the Creation. So He installed a few gigayears of history complete with a big bang and a fossilized record of evolution. <--
 _______________________________________________
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

References: 
 >Alias Files (From: Luther Fuller <email@hidden>)
 >Re: Alias Files (From: Doug McNutt <email@hidden>)
 >Re: Alias Files (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: AppleScript-Users Digest, Vol 4, Issue 443
  • Next by Date: Re: fileMaker Value Lists
  • Previous by thread: Re: Alias Files
  • Next by thread: Re: Alias Files
  • Index(es):
    • Date
    • Thread