home · contact · privacy
Force writing of symlink files even when destination exists.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 3 May 2015 02:19:39 +0000 (04:19 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 3 May 2015 02:19:39 +0000 (04:19 +0200)
symlink.sh

index 3d399d37e23101fcbf6914693a4f576c8f2f2f89..9343880d057918d81c4f0999c5b6523c1ada5459 100755 (executable)
@@ -3,5 +3,5 @@
 dir=~/config/dotfiles
 cd ~
 for file in `ls $dir`; do
-    ln -s $dir/$file ~/.$file
+    ln -fs $dir/$file ~/.$file
 done