I have a bunch of data files on a Mac Mini that I want to read over my wireless LAN in a script (F#, not that it matters I think). I can see the files in Finder, but don't know how to read them in a program.

What path to the file would I use in my script? For example if I had a file called myData.csv in a folder called MyUserId/data, what would the path be?

  • How exactly do you reach the files in Finder? Are you using file sharing on the Mini and mounting the shared folder on the other computer, or something else? – Gordon Davisson Mar 2 '13 at 21:32
  • Yes, that's it exactly (sorry, should have said). I have a directory with public access on the Mac Mini and when I mount the Mac Mini in Finder I can navigate to it. – Aidan Mar 2 '13 at 21:36
  • 1
    If program is in F# which is a .Net based language what OS is the program running under and how do you connect to the Mac mini from there – Mark Mar 2 '13 at 22:39

Network volumes get mounted in /Volumes. So look for a folder within /Volumes that corresponds to the name of your Mac Mini or the network share.

Additionally, you can drag any file into a Terminal window, and its full path will be entered onto the command line.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .