diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-05-29 15:16:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-05-29 15:16:11 -0300 |
commit | 1625ef08498157a57c183563e8f5ee0bd8911f5e (patch) | |
tree | ff1b2a19865af17b04f7f98d36219c7159295e87 /mvln | |
parent | 22add0bd4883dc763361e4484fc3d38527862831 (diff) | |
download | scripts-1625ef08498157a57c183563e8f5ee0bd8911f5e.tar.gz scripts-1625ef08498157a57c183563e8f5ee0bd8911f5e.tar.bz2 |
Using mv at mvln
Diffstat (limited to 'mvln')
-rwxr-xr-x | mvln | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,5 +14,5 @@ if [ ! -e "$1" ]; then fi # Proceed -mkdir -p `dirname $2` -cp -a "$1" "$2" && ln -sf "$2" "$1" +mkdir -p `dirname "$2"` +mv "$1" "$2" && ln -s "$2" "$1" |