Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Maccle

macrumors newbie
Original poster
Sep 13, 2011
19
0
Hey,
I've searched around but couldn't find what I need. I have a share on my PC and want to access it from my MBP. When I use 'Connect to server' from Finder, it works fine. What I want to do is to be able to browse the share via the terminal as if it was any other directory. Is there a way to use the terminal to browse the SMB share instead of using Finder? Thanks!
 
Wirelessly posted (Mozilla/5.0 (iPod; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5)

Open the Terminal and drag the mounted share. Make sure you type "cd " first.
 
Wirelessly posted (Mozilla/5.0 (iPod; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5)

Open the Terminal and drag the mounted share. Make sure you type "cd " first.

Awesome, had no idea you could do that. I tried creating an alias folder and accessing that from terminal but it wouldn't work. Is there a way to connect the two processes together so that I don't have to use Finder to drag from? Thanks!
 
I think the OP was asking how to do the mount from the command line rather than how to access the volume once mounted.

You can use mount_smbfs to mount a volume, or if you simply want to do some file transfers, you can do that without mounting the file system with the smbclient program which acts much like FTP.
 
Thanks ScoobyMcDoo, that's the command I needed for the mounting. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.