Backup to external HDD with terminal commands

backup, command-line, macos, terminal, unix

Solution

I would go with `rsync` as it only copies files changed since the last time you ran it, making it quicker on second and subsequent backups.

Assuming your username is `Freddy Frog` and your external HDD is called `My External Drive`, you could do this:

rsync -av "/Users/Freddy Frog" "/Volumes/My External Drive"

Problem

Is there any terminal command that allows me to backup all my files to an external HDD. My OSX update failed so I need to backup my files some how, ASAP!

Original source