how to move a folder in mac terminal code example
Example 1: how to move file in the command line
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt
Example 2: mac move folder command
mv ~/Desktop/MyFile.rtf /Volumes/Backup/MyFolder
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt
mv ~/Desktop/MyFile.rtf /Volumes/Backup/MyFolder