macos terminal move dir code example Example: mac move folder command mv ~/Desktop/MyFile.rtf /Volumes/Backup/MyFolder