5 releases
new 0.2.0 | Mar 26, 2023 |
---|---|
0.1.5 | Dec 5, 2022 |
0.1.4 | Nov 10, 2022 |
0.1.2 | Sep 30, 2022 |
0.1.0 |
|
#764 in Command line utilities
19KB
484 lines
🌠 conceal 🌃
Introduction
conceal is a command line tool based on trash-rs which implements The FreeDesktop.org Trash specification.
You can use conceal to:
- Throw the files in the trash bin;
- List all the discarded files;
- Delete all the discarded files permanently;
- Restore files discarded under the current directory.
Installation
Cargo
First of all, install the binary skim.
$ cargo install conceal
AUR
$ paru -S conceal
or binary package:
$ paru -S conceal-bin
Usage
Tab
is the multi-selection and multi-cancel key !!
Unpredictable behavior
conceal would panic when restoring or deleting a broken symlink because of the implementation of trash-rs.
conceal only do the basic checks, which happen before the restoring or emptying process. If a symlink break during the process, conceal would panic inevitably.
License
The MIT License (MIT)
Dependencies
~2–29MB
~492K SLoC