A lightweight CLI tool written in Go to send files to the Windows Recycle Bin.
- Move files to trash instead of permanent deletion.
- Supports filenames and glob patterns.
- Leverages Windows API for native Recycle Bin integration.
- Automatically skips non-trashable devices (like network shares or CD-ROMs) to avoid unwanted confirmation dialogs.
Build the binary using Go:
go build -o send-to-trash.exe ../send-to-trash.exe [-ui] <file_or_glob>-ui: Enable GUI dialogs (disabled by default).
This project is licensed under the MIT License.