move a file command line code example
Example 1: cmd move file to folder
move filename directoryname
Example 2: how to move file in the command line
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt
Example 3: command line move file
mv file.txt ~/Desktop/Folder