conceal 0.2.0

Command line recycle bin
docs.rs failed to build conceal-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: conceal-0.6.1

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

demo

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)