rwxrob-dot/scripts/symlink
Rob Muhlestein 2ea0289e9f Rebase
2022-02-09 02:29:05 -05:00

15 lines
199 B
Bash
Executable File

#!/bin/sh
symlink () {
from="$1"
to="$2"
if [ -z "$from" -o -z "$to" ]; then
echo 'symlink <from> <to>'
return 1
fi
echo Linking $from'` -> `'$to
ln -fs $to $from
}
symlink $*