Fix up the mvln script.

This commit is contained in:
CronyAkatsuki 2024-01-08 16:17:06 +01:00
parent e430e873a3
commit 1f382aaad3

View File

@ -13,7 +13,7 @@ md () {
mvln () { mvln () {
from=$(readlink -f $1) from=$(readlink -f $1)
to="$2" to="$2"
[ ! -d "$(dirname $to)" ] && mkdir "$(dirname $to)" [ ! -d "$(dirname $to)" ] && mkdir -p "$(dirname $to)"
mv $from $to mv $from $to
ln -s $to $from ln -s $to $from
} }