yesterday
Hi,
is there a way to add network shares to finder favorites via the command line? I could not find anything by googling.
yesterday - last edited yesterday
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]
yesterday
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.
yesterday
I would recommend taking a look at Network Share Mounter.