- Copy the contents of the quickmount.sh file to your ~/.bash_profile
- Edit lines 4, 5, and 6 with the appropriate information for connecting to your synology NAS
- Edit/duplicate the
projects
function for any folders you want to mount on your mac. - Save your ~/.bash_profile, then in terminal run
source ~/.bash_profile
To mount a directory from terminal, just call your function:
mindfullsilences-MBP:~ mindfullsilence$ projects
mindfullsilences-MBP:Projects mindfullsilence$
To disconnect all mounted folders, call the disconnect
command:
mindfullsilences-MBP:Projects mindfullsilence$ disconnect
Disconnected all mounted drives.
mindfullsilences-MBP:~ mindfullsilence$