3 ms·
It doesn't seem safe in the sense that it would prevent "rm -rf /*". Wouldn't it be more accurate to call this 'backup-rm' or something?
by etskinner 5y ago
It doesn't seem safe in the sense that it would prevent "rm -rf /*". Wouldn't it be more accurate to call this 'backup-rm' or something?
- arkj 5y agoI think it will miss this case but we can extend the script to catch this case.