Skip to content

Instantly share code, notes, and snippets.

@daneden
Created February 11, 2015 19:48
Show Gist options
  • Save daneden/3a0576c466025b72f3c4 to your computer and use it in GitHub Desktop.
Save daneden/3a0576c466025b72f3c4 to your computer and use it in GitHub Desktop.
#!/bin/bash
# cd to the cwd of this script
cd "$(dirname "$0")"
# Let the user know what's happening, yo
printf "\nInstalling Sketch templates..."
# OS X's `ditto` command is basically like `cp --parents` and it is awesome
ditto "Web/Web Blankslates.sketch" "$HOME/Library/Containers/com.bohemiancoding.sketch3/Data/Library/Application Support/com.bohemiancoding.sketch3/Templates/Dropbox Web.sketch"
# And let the user know who to blame if something screws up. Hint: it's me.
printf "\n\nDone! \nIf there are any errors on the screen, contact [email protected]. It's his fault.\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment