In order to change a symbolic link, one can use the -fs option to eliminate the need to unlink or delete the old link first. However, trying to do so on directories does not seem to work:
$ mkdir dir1 $ mkdir dir2 $ ln -s dir1 lnk $ ln -sf dir2 lnk $ ll ......... lnk -> dir1 $
Why so? Is there another option to do this with directories the same as with files?