#rm #tool #unix-command #delete-file #file

app rmz

Fast rm provides an alternative to rm that focuses on maximizing performance

17 stable releases (3 major)

3.0.0 Feb 15, 2025
2.2.0 Jul 1, 2024
2.1.0 Apr 9, 2024
2.0.0 Jan 10, 2024
0.1.0 Nov 27, 2021

#38 in Filesystem

Download history 785/week @ 2024-11-16 272/week @ 2024-11-23 288/week @ 2024-11-30 381/week @ 2024-12-07 454/week @ 2024-12-14 203/week @ 2024-12-21 368/week @ 2024-12-28 2937/week @ 2025-01-04 3037/week @ 2025-01-11 2890/week @ 2025-01-18 2512/week @ 2025-01-25 2727/week @ 2025-02-01 3207/week @ 2025-02-08 3078/week @ 2025-02-15 1332/week @ 2025-02-22 1330/week @ 2025-03-01

9,396 downloads per month

Apache-2.0

66KB
1.5K SLoC

rm zippy

Crates.io

A zippy alternative to rm, a tool to remove files and directories.

Installation

Use prebuilt binaries

Binaries for a number of platforms are available on the release page.

Build from source

$ cargo install rmz

To install cargo, follow these instructions.

Build with a progress indicator

By default, no progress is shown to maximize performance—if a visual indicator of activity is preferred, the binary can be installed with the progress feature.

$ cargo install rmz --features progress

Usage

Background: https://github.com/SUPERCILEX/fuc/blob/master/README.md

Delete a file:

$ rmz foo

Delete a directory:

$ rmz dir

Ignore non-existent files:

$ rmz -f non-existent

More details:

$ rmz --help
A zippy alternative to `rm`, a tool to remove files and directories

Usage: rmz[EXE] [OPTIONS] <FILES>...

Arguments:
  <FILES>...
          The files and/or directories to be removed

Options:
  -f, --force
          Ignore non-existent arguments

      --no-preserve-root
          Allow deletion of `/`

  -h, --help
          Print help (use `-h` for a summary)

  -V, --version
          Print version

Dependencies

~4–34MB
~536K SLoC