😎 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
Jun 14, 2026 - JavaScript
😎 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.
'rm' safely – a safety net for rm
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.
AI deleted my files? ai-trash intercepts rm from Claude Code, Cursor, Copilot, Codex and others — moves files to recoverable trash instead of permanent deletion. macOS, Linux, Windows.
Recoverable replacement for interactive rm and rmdir.
Move the file to the system recycle bin
Role to tweak user profile using bashrc and vimrc.
A fail-closed safety airbag for rm on macOS — moves files to Trash without requiring AI cooperation.
To associate your repository with the safe-rm topic, visit your repo's landing page and select "manage topics."