canon-archive-0.2.2 is not a library.
Canon
Canon helps you understand and take control of digital assets spread across many drives, backups, and years.
Scan your devices, enrich with metadata, discover what you have, and archive selected files to a canonical location — at your own pace, in small, revisitable steps.
Features
| Feature | Description |
|---|---|
| Multi-root scanning | Index files across multiple drives and backups |
| Extensible metadata | Enrich with facts from any external tool (exiftool, etc.) |
| Powerful filtering | Boolean expressions with modifiers, path accessors, and globs |
| Content deduplication | Identify duplicates by hash across all sources |
| Integrity validation | Detect corruption and verify transfers with partial hashing |
| Offline queryable | Explore metadata even when source drives are disconnected |
| Cluster and apply | Generate manifests, preview changes, and archive with confidence |
Installation
This installs the canon binary.
For the optional canonargs helper (used in enrichment pipelines):
Documentation
Full documentation is available at robklg.github.io/canon.
The documentation covers:
- Setup and getting started
- Core concepts: roots, sources, objects, and facts
- Command reference: scan, enrich, query, and archive
- Filter syntax and pattern expressions
Quick Example
# Scan your sources and archive
# Enrich with EXIF metadata
| |
# Explore what you have
|
# Archive a selection
# Edit manifest.toml to customize the output pattern, then: