1 2 3 4 5 6 7 8 9
#!/bin/bash dir=~/Dotfiles; files=`cat $dir/files`; for file in $files; do echo "Creating symlink for " + $file; ln -s $dir/$file ~/.$file; done