Local-first archive archaeology

Old disks. Fewer guesses. One cleaner plan.

The monique CLI indexes archival volumes, finds duplicates across the pile, and builds a deduplicated destination plan. It is for the moment where Finder search has given up and gone to make coffee.

A desk with old external drives, archive labels, a laptop terminal, and a destination drive.

What it does

Turns archive mess into a database you can query.

Scan each mounted volume once. Mostly Unique records paths, sizes, types, filesystem timestamps, branches, directories, and scan errors. Then the questions get smaller.

01

Index the pile

Point it at a mounted volume. It stores the file map locally and resumes scans instead of starting over like a dramatic idiot.

02

Find the repeats

Duplicates use size plus filesystem mtime, then require different directories. DVD chapter files can sit down.

03

Build the destination

Create a copy plan, dry-run it, inspect the damage, then build the disk when the plan stops smelling weird.

Duplicate detection

The same file, seen through different archive scars.

Mostly Unique groups files by stable filesystem signals. It cares about duplicates crossing directories, not accidental repeats inside one DVD structure.

6 volumes 289k files 1 copy plan
Files on several archive volumes joining into duplicate groups.
Several archive volumes reduced into one deduplicated destination plan.

Destination planning

Dry-run first. Move later. Sleep slightly better.

The plan commands keep decision-making separate from copying. You can inspect what would happen before the drives start doing expensive little noises.

scan

Index each source volume.

plan:create

Persist the destination rules.

plan:dry-run

Read the plan before touching files.

plan:build

Build the destination when it makes sense.

Commands

The useful surface area is small.

No account. No cloud. No dashboard pretending to be insight. Just the commands that make old disks less haunted.

./monique scan /Volumes/LIMA-2 --fresh -v
./monique duplicates
./monique websites --only-with-sql
./monique plan:create /Volumes/DEST --photos
./monique plan:dry-run 1
./monique plan:build 1