rmd

Build Status crates.io

An improved rm implementation able to remove duplicate files

Description

rmd is an rm reimplementation made in pure Rust. It is able to remove files and directories as usual but it also able to remove duplicate file in given directories recursively.

Duplicate file are found by comparing SHA256 hashes. When a file has an hash that has already been found it is removed immediately.

Installation

This tool can be easly installed from sources: bash cargo instal rmd

Usage

It works in an almost compatible way with the standard rm. To get a full help run:

bash rmd --help

But the most common scenarios includes:

When working in interactive mode and a remove file is a directory rmd prompts only once for the root directory