kazhala / dump-cli

A simple trash utility written in bash with fzf integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dump-cli

Build Status

dump-cli is a simple trash utility written in bash while also integrated with fzf for an interactive experience.

Originally it is implemented for my personal use when using Ranger as it doesn't provide a direct trash/undo function. After some refactor it is now a standalone trash utility that could be used as a replacement of rm.

Features:

  • dump files (remove files)
  • undo files (reset dumped files to original location or current location, select through fzf)
  • clean files (permanently remove dumped files, select through fzf)
  • log (view dumped files)

Install

zsh

Should works with all zsh plugin manager.

zinit light kazhala/dump-cli

Manual

  1. Clone the repository
  2. Add repository to the PATH
git clone https://github.com/kazhala/dump-cli.git $HOME/.dumpcli
export PATH=$HOME/.dumpcli:$PATH

Usage

The help manual contains all the information to get started.

dump --help

About

A simple trash utility written in bash with fzf integration

License:MIT License


Languages

Language:Shell 98.8%Language:Dockerfile 1.2%