DedupCommando documentation

Beta — v0.9.2 . DedupCommando performs destructive operations (delete, hardlink, reflink) on real files. Read the safety guide before applying anything, and keep backups.

DedupCommando is a Linux terminal tool (CLI and TUI) that finds byte-for-byte identical files, shows whole duplicate folders, and reclaims the space the duplicate files waste — built for ZFS pools, including storage hosted on Proxmox VE systems. Data safety comes first: every destructive batch runs under a ZFS snapshot, "deleted" files are moved to a quarantine instead of being unlinked, and content is re-validated immediately before each action.

Install

  1. APT (Debian 13 / Proxmox VE 9+, recommended) — install from the signed APT repository (auto-updates via apt upgrade):
    # as root (Proxmox default); on non-root Debian run: sudo -i
    curl -fsSL https://dedupcommando.github.io/apt/dedcom-archive-keyring.gpg \
      -o /usr/share/keyrings/dedcom-archive-keyring.gpg
    echo "deb [signed-by=/usr/share/keyrings/dedcom-archive-keyring.gpg] https://dedupcommando.github.io/apt stable main" \
      | tee /etc/apt/sources.list.d/dedcom.list
    apt update && apt install dedcom
    
  2. Release binary (any Linux, glibc ≥ 2.39) — download the tarball for your architecture (amd64 / arm64) from GitHub Releases, verify it, then:
    tar xzf dedcom-<version>-<triple>.tar.gz
    install -m 755 dedcom-<version>-<triple>/dedcom /usr/local/bin/dedcom
    
  3. From source — on an older system such as Proxmox VE 8 / Debian 12, build natively with a Rust toolchain (1.82+) on that system; a binary from the maintainers' Docker wrapper (rust:1.95.0 image) needs a newer glibc and will not run there (see CONTRIBUTING).

Cargo (cargo install dedcom) is planned — not yet available; for now use APT, the release binary, or build from source. The installation chapter of the manual covers every option in detail.

First scan

dedcom              # multi-panel commander (default)
dedcom --classic    # classic stepwise wizard
dedcom --read-only  # read-only observer
dedcom -h           # all options

Pick scan roots, choose an intensity profile (Idle on a busy host), and start. After the scan, mark a keeper and an action per group, then review and apply — or save the plan as a shell script. The quickstart chapter walks through a typical session.

Read the docs

Safety first

Three ways to reclaim space

One file in each group is the keeper; the rest become links or go to quarantine.

How it works

  1. Scan — walk your chosen roots, hash candidates with BLAKE3 (with an optional byte-for-byte re-compare), and group identical files. Scans are resumable and cached for near-instant re-runs.
  2. Review — browse duplicate groups in the multi-panel commander (default) or a classic stepwise wizard (--classic); mark a keeper and the action for each group. It also finds "twin folders" — directory trees whose scanned contents are identical.
  3. Apply — review the plan and apply interactively, or save it as a shell script. A resource governor (Turbo / Balanced / Idle) sets how hard a scan reads; on a busy host, Idle uses one thread at nice 19 and ionice idle.

dedcom 0.9.2: the scan form cycling Turbo, Balanced and Idle, a scan of a test ZFS pool, the duplicate groups it found, then the Triage Board

A scan of a test pool with dedcom 0.9.2 (the scan itself is sped up three times), then the Triage Board sorting files into four receivers.

Built for ZFS, runs on Proxmox VE

DedupCommando is designed for ZFS: snapshots, dataset-aware boundaries, and reflink all build on it. It is tested on Proxmox VE 9.1 (OpenZFS 2.3), where ZFS is available out of the box. This is file-level deduplication — finding and removing duplicate files — not ZFS's built-in block-level dedup (zfs set dedup), and not compression.

On non-ZFS filesystems scanning still works, but delete, hardlink and reflink are refused: dedcom acts only where it can take a ZFS snapshot first.

Requirements

Verify your download

Each release ships SHA-256 checksums, minisign signatures, a CycloneDX SBOM and a SLSA build-provenance attestation. See Verifying releases.

Guides