Best Terminal Tip Ever!
How to do a quick and easy backup on a *nix system?
First, enable cp to include hidden files
|
1 |
#shopt -s dotglob |
Then, just
|
1 |
#cp –pr [source] [destination] |
I’m using it now to back up my user to an external HD, in recovery mode, on a macbook.
Will edit this post after its finished….
Update: Finished, everything seems to be alright!