Skip to content

Instantly share code, notes, and snippets.

@connrs
Created September 30, 2011 08:01
Show Gist options
  • Save connrs/1253039 to your computer and use it in GitHub Desktop.
Save connrs/1253039 to your computer and use it in GitHub Desktop.
dotfiles makefile
install:¶
@find . -iname '*.symlink' | sed -e "p;s!\./\(.*\).symlink!$(HOME)/\1!" | xargs -n2 ln -s -i
#recurses through files with .symlink on the end and creates a symlink in ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment