rename a directory terminal mac code example
Example 1: how to rename the directory in terminal
mv [oldDirPath] [newDirPath]
Example 2: how to change directory in terminal mac
cd <FolderName>
mv [oldDirPath] [newDirPath]
cd <FolderName>