Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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?

share|improve this question
    
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

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.