Crates.io | wrm |
lib.rs | wrm |
version | 0.3.0 |
source | src |
created_at | 2023-12-02 02:51:11.606865 |
updated_at | 2024-02-26 17:22:22.115292 |
description | Remove files or directories. |
homepage | |
repository | https://github.com/9yokuro/wrm.git |
max_upload_size | |
id | 1055848 |
size | 49,344 |
Run the following Cargo command:
cargo install wrm
To move files to trash($HOME/.local/share/wrm/trash
):
wrm foo bar ...
To destroy files:
wrm --destroy ~/.local/share/wrm/trash/foo ~/.local/share/wrm/trash/bar ...
To restore files in trash to where they came from:
wrm --restore ~/.local/share/wrm/trash/foo ~/.local/share/wrm/trash/bar ...
To list all files and directories in trash:
wrm --list
To delete all files and directories in trash permanently:
wrm --empty
-n, --noninteractive Do not prompt whether to change destinations
-q, --quiet Do not print log messages
-h, --help Print help
-V, --version Print version
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.