Skip to content

Instantly share code, notes, and snippets.

@otkrsk
Forked from natritmeyer/mount_smbfs.sh
Last active April 16, 2017 18:59
Show Gist options
  • Save otkrsk/3ea37dd761dcd06552f4 to your computer and use it in GitHub Desktop.
Save otkrsk/3ea37dd761dcd06552f4 to your computer and use it in GitHub Desktop.
#Mounting the share is a 2 stage process:
# 1. Create a directory that will be the mount point
# 2. Mount the share to that directory
#Create the mount point:
mkdir share_name
#Mount the share (edited for Mac OS X):
#The -t flag is to indicate the file system type. In this case, it is smbfs.
mount -t smbfs //username:[email protected]/share_name share_name/
#Unmount the share:
umount share_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment