3 ms·
These are great. Most frustrating to me is that the basic commands: rm, mv, cp, touch, mkdir do not follow some of the basic guidelines, such as “ask before des
by xixixao 3y ago
These are great. Most frustrating to me is that the basic commands: rm, mv, cp, touch, mkdir do not follow some of the basic guidelines, such as “ask before destructive action”. I have been reimplemting them in Rust for myself to fix this (although a wrapper would have been perhaps better, it’s hard to write it and have the program work in any shell).
- stephenr 3y agoIt's pretty easy to have shell aliases for commands like rm, cp, etc to use the "safe" mode (the `-i` option) by default. Writing a replacement utility seems a bit like overkill.