From 1f176dd805c793795f8d8f26a935de815b236194 Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Sat, 19 Mar 2016 22:57:36 +0100 Subject: [PATCH] mv is more flexible than ln --- scripts/prefix/bin/mvln | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/prefix/bin/mvln b/scripts/prefix/bin/mvln index 94a8e06..71525bb 100755 --- a/scripts/prefix/bin/mvln +++ b/scripts/prefix/bin/mvln @@ -68,5 +68,5 @@ esac #echo $DEGUB # Step 4: eventually act upon gathered knowledge ############################### -ln $PATH1 $PATH2 # Hard link to new location (fast!) -ln -sf $PATH2 $PATH1 # Soft link back to old location +mv $PATH1 $PATH2 # Works across filesystems (fast enough!) +ln -s $PATH2 $PATH1 # Soft link back to old location