Thursday 26 September 2013

Changing to a network disk on the mac in terminal

Changing to a network disk on the mac in terminal - e.g. if you've got a windows PC on your network, that you share disks on. Then open the network location in Finder, and then double click to open the disk.

Then in the terminal type "df -h" and it will list the location in which the drive is mounted.

e.g. //xxxx@xxxxxwin7pc/H  931Gi  611Gi  320Gi    66%        0 18446744073709551615    0%   /Volumes/H

Then all you need to do is type "cd /Volumes/H" to change to the disk.

Voila, done.

No comments:

Post a Comment