Skip to content

Instantly share code, notes, and snippets.

@wraithan
Created April 3, 2011 23:54
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 wraithan/900944 to your computer and use it in GitHub Desktop.
Save wraithan/900944 to your computer and use it in GitHub Desktop.
shell script to install of my configs from my sync to the system I am on
#!/bin/bash
for config in $(find sync/config/ -maxdepth 1 -mindepth 1); do
target=~/$(basename $config)
[ -h $target ] || ln -s $config $target
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment