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!
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"
cp -R /Path-to-folder /Path-to-external-HDD
This wil copy the folder from (Path-to-folder) to the external HDD
If you want to make this an recurring command, the are a few steps to be made:
http://pastebin.com/fNuCMMr4
Every day at 15:00 the folder of /Path-to-folder will be copied to the external HDD (if the mac is running at that time)
And yes, ofcourse you need to modify the code I gave you for the .plist file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With