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