move a directory in terminal mac code example
Example 1: move a directory in terminal mac
mv source_folder destination_folder
# eg
mv /Users/juan/Documents/Coding /Users/juan/Desktop
Example 2: mac move folder command
mv ~/Desktop/MyFile.rtf /Volumes/Backup/MyFolder
Example 3: how to change directory in terminal mac
cd <FolderName>