Removing a directory in linux containing symlinks

view story

http://stackoverflow.com – I want to remove a nonempty directory in linux which has a directory structure inside it with bunch of symlinks. When I run rm -rf /direcory it removes not just all the symlinks and the directory, but also all the directories that those symlinks point to. Is there a command to just a directory which contains symlinks? (HowTos)