trash.sh
qqAys/trash.sh - GitHub | 简体中文
trash.sh
is a script that serves as a safe alternative to rm
, allowing for secure handling of files and directories by moving them to a trash bin instead of permanently deleting them.
If you use trash.sh
as described below, rm
essentially becomes mv
. trash.sh
handles moving items to the trash for you, so please be aware of this change!