move directory 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
Example 3: how to change directory in terminal mac
cd <FolderName>