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