rename file in command line mac code example
Example 1: change file name in terminal
mv oldfile.txt newfile.txt
Example 2: rename file mac terminak
mv old-folder-name new-folder-name
mv oldfile.txt newfile.txt
mv old-folder-name new-folder-name