I have this :
ubuntu:~/tmp$ ls -l
total 4
drwxr-xr-x 2 abc abc 4096 2010-10-23 14:13 dir1
lrwxrwxrwx 1 abc abc 4 2010-10-23 14:13 dirln -> dir1
dir1 is empty
I want to rename dir1 to dir2 via dirln, like this:
ubuntu:~/tmp$ mv dirln/ dir2
mv: cannot move `dirln/' to `dir2': Not a directory
This gives error.
Can I rename a directory via its symlink ?
Thanks