How to connect to a particular share after automatic connection to a network drive after a Mac start up?

There are solutions I can find how to automatically connect to a network drive whenever the Mac starts up, such as

smb://synology.local

But this drive has many shares, such as Public, Private and Backup.

How would you automatically connect to Backup as well, assuming some other automated tool needs to access the path /Volumes/Backup? (using any Settings, app, or Bash / Zsh commands or script that can be added to system startup?)


Just connect to the share that you want to connect to on startup.

Then, add that to your Login Items under your account in User & Groups in your Systems Preferences.

Make sure that you save the password to the volume when connecting, otherwise you'll have to enter on connecting.