Re: tutorial on HFS versus finder and POSIX file path ?
Re: tutorial on HFS versus finder and POSIX file path ?
- Subject: Re: tutorial on HFS versus finder and POSIX file path ?
- From: Michelle Steiner <email@hidden>
- Date: Tue, 17 Oct 2006 09:16:19 -0700
On Oct 17, 2006, at 8:45 AM, Mark J. Reed wrote:
The translation rules are simple:
Mac OS: absolute paths start with the volume name; the separator is a
colon. A pathname starting with a colon is relative, but it's hard to
say to what, since there's no well-defined concept of a "working
folder" in traditional Mac OS.
POSIX: absolute paths start with a /, which is also the separator.
The boot volume is /, any other mounted volumes are /Volumes/volname/.
Relative paths start with a name with no leading /.
A file that shows up in the Finder as "foo/bar" will show up in the
shell as "foo:bar".
Isn't there also the one that starts with "~/" indicating a path from
home directory?
--
"Better Plan B than plan d & c."
_______________________________________________
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