I have a symlink to an important directory. I want top get rid of that symlink, while keeping the directory behind it.
I tried 'rm' and get back "rm: cannot remove 'foo'".
I tried 'rmdir' and got back "rmdir: failed to remove 'foo': Directory not empty"
I then progressed through 'rm -f', 'rm -rf' and 'sudo rm -rf'
Then I went to find my back-ups.
Is there a way to get rid of the symlink with out throwing away the baby with the bathwater?