rm-improved

Safe, ergonomic command-line deletion tool with undo support

brewmacoslinux
Try with needOr install directly
Source

About

Command-line deletion tool focused on safety, ergonomics, and performance

Commands

rm

Examples

Safely delete a file with confirmation prompt$ rm myfile.txt
Recursively delete a directory with safety checks$ rm -r mydirectory/
Delete files matching a pattern with interactive confirmation$ rm *.log