Fix up the mvln script.
This commit is contained in:
parent
e430e873a3
commit
1f382aaad3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue