Crates.io | trash-it |
lib.rs | trash-it |
version | 1.0.5 |
source | src |
created_at | 2021-01-22 01:26:35.031009 |
updated_at | 2021-01-22 19:26:24.609276 |
description | Trash is a command-line application for moving files and folders into the trash. A safer alternative to rm. |
homepage | |
repository | https://github.com/JakeChampion/trash/ |
max_upload_size | |
id | 345121 |
size | 25,325 |
Move files and folders to the trash
trash
is a command-line application for moving files and folders into the trash. A safer alternative to rm
.
trash README.md # move README.md to the trash
trash "*.md" # move all files ending in .md in the current direcory to the trash
trash src install.sh # move src folder and install.sh file to the trash
Trash works across all major platforms. You can directly install the binary from GitHub:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/JakeChampion/trash/master/install.sh | sh
If you would rather not run a script, you can download the binary from the Releases page and add it to your PATH
environment variable.
If you have Rust and Cargo install you can install Trash from source:
cargo install trash-it