Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't it safer to use the "ditto" command for the restore?

sudo mv /usr/local ~/local

then merge it back in

ditto -V ~/local /usr/local

That way it should merge all the files from the backup into the new folder (and show you what it's doing)



Thanks, I've updated the post in response to this suggestion from you & a few others. Might need to force refresh your browser to see it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: