How do i automount a network share? I don't want finder popping up every time i reboot my iMac.
Suggestions?
Suggestions?
Mount the share. Open System Preferences/Users & Groups, go to your user's "Login Items", and drag the share from the Finder sidebar to your Login Items.How do i automount a network share? I don't want finder popping up every time i reboot my iMac.
Suggestions?
Mount the share. Open System Preferences/Users & Groups, go to your user's "Login Items", and drag the share from the Finder sidebar to your Login Items.
If you find an answer- please post it. I've been looking for a way to do that since I switched to Macs back in 2007.
-- Define username
property username : "yourusername"
-- Define shares
property mapdrive1 : "smb://" & username & "@yourserver/Share1"
property mapdrive2 : "smb://" & username & "@yourserver/Share2"
property mapdrive3 : "smb://" & username & "@yourserver/Share3"
-- Mount Volumes
mount volume mapdrive1
mount volume mapdrive2
mount volume mapdrive3
I just use an AppleScript, that I compile into an Application, and then launch that from the "login items." This is the script:
Code:-- Define username property username : "yourusername" -- Define shares property mapdrive1 : "smb://" & username & "@yourserver/Share1" property mapdrive2 : "smb://" & username & "@yourserver/Share2" property mapdrive3 : "smb://" & username & "@yourserver/Share3" -- Mount Volumes mount volume mapdrive1 mount volume mapdrive2 mount volume mapdrive3
Replace SMB with AFP or NFS if you're using either of those protocols.
smb://username:password@servername/sharename
-- Define username
property username : "yourusername"
property password : "yourpassword"
-- Define shares
property mapdrive1 : "smb://" & username & ":" & yourpassword & "@yourserver/Share1"
-- Mount Volumes
mount volume mapdrive1
Keep us informed if you get it working....I've been looking for something like this for years
Keep us informed if you get it working....I've been looking for something like this for years
Looks interesting but I wonder if it'll be compatible with Sierra