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:

Interactive mode is not currently implemented, if the program is run with the -i flag it will not behaves differently

So bash rmd -i FILE_A FILE_B

is equivalent to bash rmd -i FILE_A FILE_B