Hi,
is there a way to add network shares to finder favorites via the command line? I could not find anything by googling.
Hi,
is there a way to add network shares to finder favorites via the command line? I could not find anything by googling.
The command below should mount the network share, the reason its not very well used is you need to pass credentials in the in the command which is very insecure.
mount_smbfs //[username]:[password]@[server]/[share] /Volumes/[mount_point]
You can also use the following command: open “smb://name@server/“ Replace “name” with your username and “server” with the server’s fully qualified domain name (FQDN). If required, the command will prompt you for your password. This command can be used to mount a shared drive.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.