Name
mount volume — AppleShare
Description
Mounts an AppleShare volume (i.e., a
machine where Personal File Sharing is turned on). The machine is
specified as an afp URL; to avoid the dialog for
choosing a particular volume, add the volume name as a second path
element. Parameters can be used to avoid the username-password dialog
(or you can include the username and password as part of the URL).
Examples
set s to choose URL showing File servers mount volume s as user name "mattneub" with password "teehee" mount volume "afp://little-white-duck.local" -- avoids no dialogs mount volume "afp://little-white-duck.local/OmniumGatherum" ¬ as user name "matt neuburg" with password "teehee" -- avoids all dialogs
If the machine is serving via AppleTalk (rather than TCP/IP), and if
you have AppleTalk turned on in Mac OS X, you can mount the machine
via AppleTalk using an AppleTalk URL, which looks, for example, like
this: mount volume "afp:/at/LittleWhiteDuck“. Note
that you must use a name; the IP number doesn’t
apply here. You can specify volume, username, and password just as
for a TCP/IP afp URL. Windows servers can be
mounted using an smb URL.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access