DedupCommandofinds identical files on Linux and reclaims the space safely on ZFS · v0.9.2
Read me.txt — Notepad
Proxmox® is a registered trademark of Proxmox Server Solutions GmbH. DedupCommando is an independent project, not affiliated with or endorsed by Proxmox Server Solutions GmbH.
dedcom.exe — ssh root@pve
An animated demo of the dedcom interface: a pool scan, a table of duplicate groups and an action dialog that starts with a snapshot.
Features
Data sheet — DC-SPEC-09
- Item
- dedcom
- Type
- TUI deduplication utility
- Platform
- Linux x86-64 / arm64 · OpenZFS (tested: 2.3)
- Habitat
- Proxmox VE (native)
- Hashing
- blake3 (byte-for-byte:
--verify) - Status
- v0.9.2 (beta) · 2026
Properties: Safety
The safety protocol is built in and cannot be switched off — that’s why the boxes are greyed out:
A ZFS snapshot automatically before every action. It keeps the old data until you destroy it.
A re-hash right before acting. Any mismatch stops it; the group goes back for review.
renameat2(RENAME_NOREPLACE): no window between checking the target name and the rename.
“Deleting” moves files to quarantine. Bring one back precisely, without a full rollback.
Install dedcom
| Parameter | Value |
|---|---|
| OS | Linux x86-64 or arm64, glibc ≥ 2.39 |
| FS | OpenZFS (tested on 2.3, Proxmox VE 9.1) |
| Habitat | Proxmox VE; any host with ZFS will do |
| Terminal | any UTF-8, 256-color one, over SSH and in tmux |
| Access | root on the pool host |
# as root (the Proxmox default); on Debian without root 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 dedcom --classic # step-by-step wizard for the first run
Rehearse on a throwaway pool first:
scripts/make-test-pool.sh
from the source repository builds one on a file image. It needs DEDCOM_E2E_ROOT and
DEDCOM_E2E_OWNER_UID; see the script’s header.
Other Linux systems with glibc 2.39 or newer: download a release from GitHub, verify it and copy the binary to the host. Details: installation chapter of the manual.
Help: questions and answers
How safe is this on a production host?
Before any destructive action — an automatic ZFS snapshot, a fresh check of every file and atomic operations. “Deleted” files go to quarantine. The worst case is rolling a dataset back to its snapshot, which also drops anything written after it. The Idle profile scans at the lowest CPU and disk priority.
Hardlink? What about block cloning?
The classic mode is hardlink. Where OpenZFS supports block cloning, reflink is available — files stay independent but share blocks. The project’s E2E test proves the sharing by block address (zdb), not by pool counters.
Why a TUI and not a web UI?
An extra daemon and an open port on storage cost security. You already have SSH, and dedcom draws its interface in any UTF-8, 256-color terminal. For scripting there are headless modes: --scan, --stats, --export-csv.
A terabyte-scale scan got interrupted — start over?
No: state is checkpointed to dedcom.db, so after a restart the scan resumes where it stopped.
What do I need to run it?
Linux x86-64 or arm64 with glibc 2.39 or newer (Debian 13, Ubuntu 24.04, Proxmox VE 9), an OpenZFS pool and a terminal. One binary, no daemon. Proxmox VE is the native habitat, but any ZFS host works.
Download dedcom
On Debian 13 and Proxmox VE 9 install it with apt (see the “Install” window). On other Linux systems with glibc 2.39 or newer, download a release from GitHub, verify it and copy the binary to the host.
Documentation — Help Topics
Help topics are ordinary web pages. The manual and the release notes follow the latest release.
- Install and first scan — APT, release binary, first run
- User manual — 14 chapters: safety, scanning, actions, Commando, headless, hotkeys
- Safety, recovery and limitations
- Release notes — latest: v0.9.2
- Verifying releases — checksums, signatures, provenance
Guides: file-level deduplication on ZFS · duplicate files on Proxmox VE storage · hardlink vs reflink · Linux duplicate file finder · questions and answers · compared with other tools
Regional Settings — language
This site in other languages. The program and its manual are in English.