rename a file using cmd mac code example Example: rename file mac terminak mv old-folder-name new-folder-name