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