cli move file code example
Example 1: how to move file in the command line
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt
Example 2: command line move file
mv file.txt ~/Desktop/Folder
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt
mv file.txt ~/Desktop/Folder