Created
April 3, 2011 23:54
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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