Posted on 10-22-2024 12:44 AM
Hi,
is there a way to add network shares to finder favorites via the command line? I could not find anything by googling.
10-22-2024 04:31 AM - edited 10-22-2024 04:31 AM
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]
Posted on 10-22-2024 05:23 AM
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.
Posted on 10-22-2024 01:46 PM
I would recommend taking a look at Network Share Mounter.
a month ago