mac os terminal commands rename file in directory code example Example: rename file mac terminak mv old-folder-name new-folder-name