samba mount - roubles/macmounter GitHub Wiki

To mount windows shares (that use the samba protocol) you would use mount with the -t smbfs

MOUNT_CMD=/sbin/mount -t smbfs //roubles:[email protected]/remotefolder /Volumes/example

In context this looks like:

[example.com]
MOUNT_TEST_CMD=ls -l /Volumes/example && /sbin/mount | grep -q example
PING_CMD=/sbin/ping -q -c3 -o example.com
PRE_MOUNT_CMD=/sbin/umount -f /Volumes/example; /bin/mkdir -p /Volumes/example
MOUNT_CMD=/sbin/mount -t smbfs //roubles:[email protected]/remotefolder /Volumes/example

Note that 'whatmeworry' is the password in cleartext. This is not recommended. Please read password management.