😎 Safe-rm: A drop-in and much safer replacement of bash rm with nearly full functionalities and options of the rm command! Safe-rm will act exactly the same as the original rm command.
-
Updated
Jul 17, 2024 - Shell
😎 Safe-rm: A drop-in and much safer replacement of bash rm with nearly full functionalities and options of the rm command! Safe-rm will act exactly the same as the original rm command.
A safer rm alternative that moves files and directories to a trash bin instead of permanently deleting them. Simplifies file recovery with easy installation and an option to empty the trash.
Some of my bash scripts
Confirm the target meets your expectations before rm | 在rm前确认目标符合自己的预期
The idea is to replace the normal "rm" ❌ command (delete files and directories) with a script 📃 that allows you to recover accidentally deleted files.
This is a "rm" alternative written in shell. A simple yet effictive tool for most cases.
Add a description, image, and links to the rm topic page so that developers can more easily learn about it.
To associate your repository with the rm topic, visit your repo's landing page and select "manage topics."