how to move a folder to desktop in terminal code example Example: how to move file in the command line % mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt