3 ms·
Nothing protects against rm -rf by design. You shouldn't use it to blindly clean up and delete files (unless as a last resort or some very specific and careful
by qbasic_forever 5y ago
Nothing protects against rm -rf by design. You shouldn't use it to blindly clean up and delete files (unless as a last resort or some very specific and careful use case). Just use plain old rm and feed it the explicit list of files to delete, which forces you to actually look at what you're about to do.
- kazinator 5y ago> Nothing protects against rm -rf by design You mean, other than backups? Including editor backups, in a separate directory.