Message Boards Message Boards

0
|
5037 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How can mounted filesystems be referenced in WL?

On MacOS, I have several external hard disks attached, and a virtual disk connected via the WEBDAV protocol.

I've tried to use SetDirectory to get access to the file system on both external hard disks, and the WEBDAV virtual disk. In each case SetDirectory fails with

SetDirectory: Cannot set current directory to LaCie

The commands I've tried are

SetDirectory["/uwramadison.org/"]

Or

SetDirectory["/uwramadison.org/resources"]

Resources is a directory on the WEBDAV virtual disk with the name "uwramadison.org", which comes from the URL used defining the WEBDAV connection "http://uwramadison.org/resources".

Is there method to reference mounted filesystems in WL?

POSTED BY: Lawrence Winkler
2 Replies

Perfect. Thanks much.

Many years ago, knew Unix quite well. Forgotten a lot.

The simple unix command "mount" tells me what and where everything is mounted and their parameters.

POSTED BY: Lawrence Winkler

Lawrence,

All mounted mac volumes appear in the path "/Volumes/ServerName". To verify your server info, I would go to terminal and do

cd /Volumes
ls

This will list the mounted devices. In Mathematica you would do

SetDirectory["/Volumes/serverName"]

Regards,

Neil

POSTED BY: Neil Singer
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract