How to rename directories through Terminal
I keep having to rename files and directories in locations outside the purview of my user account. Moving directories into, say, the WebServer folder is easy enough: Mac will ask you for your admin credentials. But, I have not found an easy (read: non-Terminal) way of renaming directories or files once you moved them. So, here is how to do it in the Terminal:
sudo mv -f [original name of the directory] [new name of the directory]


