3 ms·
There are two issues with this: 1. -f specifically forces the change - it's a "I know what in doing, don't warn me" option 2. He was running this in a script,
by chris_wot 11y ago
There are two issues with this:
1. -f specifically forces the change - it's a "I know what in doing, don't warn me" option
2. He was running this in a script, and automating a process so he didn't want a warning
- nickpsecurity 11y agoThose are good observations. Both true. xg15 addressed some of the reasons why this is still a problem: https://news.ycombinator.com/item?id=11499679 https://news.ycombinator.com/item?id=11499679 Here's an example of a simple alternative that lets you do what this person is doing while avoiding unnecessary hits to critical files: https://launchpad.net/safe-rm https://launchpad.net/safe-rm
- chris_wot 11y agoCool script! Thanks for that :-)