#remove #rm #duplicates #cli #fileutils

bin+lib rmd

An improved rm implementation able to remove duplicate files

12 releases (4 breaking)

0.5.3 Sep 11, 2020
0.5.1 Jul 9, 2020
0.4.0 Mar 24, 2020
0.2.1 Dec 21, 2019

#11 in #rm

MIT license

64KB
2K SLoC

rmd

Build Status crates.io License: MIT PRs Welcome

An improved rm implementation able to remove duplicate files

Description

rmd is an rm reimplementation made in pure Rust. It is able to:

  • Do standard rm work
  • Recursively remove duplicate files
  • Recursively remove files by size
  • Recursively remove files by last access date

Installation

This tool can be easily installed from sources:

cargo install rmd

Compile from source

It is also possible to directly clone the repository and compile rmd from there. In this case it is recommended to run all tests before compile rmd for production. A convenient way to do that is using make

make build

This will run all cargo tests (both unit and integration) and cli tests before compile rmd for production.

Usage

A quick guide can be found running:

rmd --help

For a more complete reference please read the online documentation. https://filipporanza.github.io/rmd/

Dependencies

~8.5MB
~245K SLoC