logoalt Hacker News

hdjrudnitoday at 3:12 AM1 replyview on HN

Even in those basic examples, it probably would be useful. `cp` to a blank file? No problem. `cp` over an existing file? Yeah, I want to be warned.

`rm` a single file? Fine. `rm /`? Maybe block that one.


Replies

Izkatatoday at 7:23 AM

That last one would error without doing anything anyway because it's not recursive.