Our great sponsors
-
Never run rm with -r, I would say, but you learned the lesson. Check some backup methods and here is another lesson; be very careful with rsync --delete. Also check this one a friend of mine lost his all data with this one.
-
You could think about using trash-cli or safe-rm if you're too trigger happy with your terminal
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
shell-safe-rm
😎 Safe-rm: A drop-in and much safer replacement of bash rm with nearly full functionalities and options of the rm command! Safe-rm will act exactly the same as the original rm command.
You could think about using trash-cli or safe-rm if you're too trigger happy with your terminal