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]
1.
Max Glipmax on June 26, 2009 at 09:14 pm
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? Itis extremely helpful and beneficial to your readers