8 releases

0.5.2 Mar 24, 2024
0.5.1 Feb 3, 2024
0.5.0 Jan 11, 2024
0.2.0 Mar 26, 2023
0.1.0 Aug 26, 2022

#469 in Command line utilities

Download history 5/week @ 2024-01-30 1/week @ 2024-02-13 18/week @ 2024-02-20 14/week @ 2024-02-27 1/week @ 2024-03-05 6/week @ 2024-03-12 121/week @ 2024-03-19 12/week @ 2024-03-26 14/week @ 2024-04-02

397 downloads per month

MIT license

15KB
319 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.

Finder

conceal restore use skim and fzf (default) as finder. You can choose either one with the --finder option whose value is also controlled by environment variable CONCEAL_FINDER.

Value priority: --finder > CONCEAL_FINDER

Refer to conceal restore -h for more information.

Installation

Cargo

You need to install finder skim or fzf before using conceal.

$ cargo install conceal

AUR

$ paru -S conceal

or binary package:

$ paru -S conceal-bin

Usage

There are two binaries: cnc and conceal.

cnc is to put files into recycle bin; conceal is to operate the recycle bin.

demo

Tab is the multi-selection and multi-cancel key.

Dependencies

~3–34MB
~464K SLoC