Skip to content

Instantly share code, notes, and snippets.

@tylerhall
Created March 25, 2020 16:00
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tylerhall/1ac0b787d1b7966fcf8bf554a13d42e5 to your computer and use it in GitHub Desktop.
#!/bin/bash
[ ! -d "/Volumes/ShareName" ] && open -g -j smb://user:pass@somewhere.local/ShareName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment