#!/bin/sh # links config files to their destinations install() { source=$* cp --recursive --force --symbolic-link --verbose --target-directory=/ $source } if [ $# -eq 0 ] then echo usage example: ./exe/install common else install "$PWD/data/$1"/* fi