• 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: Do Shell Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do Shell Script


  • Subject: Re: Do Shell Script
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 24 Oct 2005 09:30:35 -0400



On 10/24/05, John Mitchell <email@hidden> wrote:
So it appears I have to strip respectively:
mitchX - one of my disk names
and
mitchX/Users/johnmitchell - my user address

POSIX paths do not start with disk names.  The POSIX path to your home directory is just /Users/johnmitchell, no "mitchX".  If mitchX were not your startup volume/root filesystem, then the path would be something like /Volumes/mitchX/Users/johnmitchell.

Absolute POSIX paths always start with a /.  Without the leading /, the path is interpreted relative to whatever your current working directory is - which you can find out via the "pwd" command.




--
Mark J. Reed <email@hidden>
 _______________________________________________
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

  • Prev by Date: Re: Just returning Filename... not whole path
  • Next by Date: Re: Just returning Filename... not whole path
  • Previous by thread: Re: Do Shell Script
  • Next by thread: Re: Do Shell Script
  • Index(es):
    • Date
    • Thread