move a directory in terminal code example Example: mac move folder command mv ~/Desktop/MyFile.rtf /Volumes/Backup/MyFolder