Fix up the mvln script.
This commit is contained in:
parent
e430e873a3
commit
1f382aaad3
@ -13,7 +13,7 @@ md () {
|
||||
mvln () {
|
||||
from=$(readlink -f $1)
|
||||
to="$2"
|
||||
[ ! -d "$(dirname $to)" ] && mkdir "$(dirname $to)"
|
||||
[ ! -d "$(dirname $to)" ] && mkdir -p "$(dirname $to)"
|
||||
mv $from $to
|
||||
ln -s $to $from
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user