#!/bin/sh mkdir -p $HOME/.config rpath="$(dirname `readlink -f $0`)" for i in * ; do from="$rpath/$i" to="$HOME/.config/`basename $i`" echo "'$from'" "'$to'" ln -s -f "$from" "$to" done