how to change name of directory terminal mac code example Example: command line rename folder mac mv old-folder-name new-folder-name