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

That's almost exactly how I blew up a test server once. (rsync --delete in place of rm) Taught me to be extremely careful when dealing with absolute directory paths.


Oh man... Rsync deserves extreme caution even compared with other bash commands. It's so easy to erase everything and copy terabytes again.




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

Search: