Skip to content

Instantly share code, notes, and snippets.

@brennanMKE
Created May 17, 2020 01:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brennanMKE/b7a372e2e337d97f31e0f76b77f27d4c to your computer and use it in GitHub Desktop.
Save brennanMKE/b7a372e2e337d97f31e0f76b77f27d4c to your computer and use it in GitHub Desktop.
Links shell configuration files to a Dropbox folder

Link Shell Files with Dropbox

Keeping shell configuration files in sync with Dropbox so each of my Macs has the same paths, aliases and other settings is easily done by symlinking files to a common folder in Dropbox. If a symlink is already in place it unlinks it so that it can be linked again. Then if the Dropbox exists it creates the symlink. If a file is at that path it won't change anything. You will first need to copy the contents of the folder to the path under the Dropbox path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment