How to rename a file or folder in Mac OS X
Renaming a folder in Mac OS X is very easy, and there’s a few different ways you can do it.
Rename a file or folder by selecting it and hitting the ‘return’ key – just click on the icon of the file/folder and hit the return key, then type in the new name.
Rename a file or folder by selecting it and clicking on the filename with your cursor – after you have selected the icon, click on the actual filename text and hover for a moment, then you can rename the item.
Rename a file or folder via command line – you can also rename any file or directory via the Terminal, from the command line type:
mv oldfilename newfilename
A note on file extensions: be aware when renaming certain files that changing the file extension (.jpg or .txt, etc) can effect the behavior of that file and how applications respond to it. Generally speaking, you should leave the file extension the same.
I realize this is pretty rudimentary stuff to many of our readers, but two recent switchers have asked me this question so surely they can’t be alone in wondering, both were trying to do the Windows right-click -> rename method which is sure to cause some confusion in Mac OS X.