move folder 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: how to move file in the command line
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt
Example 3: mac move folder command
mv ~/Desktop/MyFile.rtf /Volumes/Backup/MyFolder