Introduction
Canon is a CLI tool for organizing large collections of files (photos, music, documents) scattered across old hard drives, backup directories, cloud downloads, and phone exports. It indexes files across any number of locations, identifies content by hash regardless of name or path, and lets you query and filter everything with metadata. When you’re ready, it archives what matters and excludes what is not worth keeping, both on the record. Storage that holds nothing unresolved can be retired: its complete story stays readable, in plain text, after the storage is gone.
The Problem
Files accumulate over years and across devices, and the scale makes it hard to even start. Manual approaches are risky: one wrong move and something irreplaceable could be gone.
The Approach
Canon works incrementally:
- Scan directories to index files and compute content hashes
- Enrich with metadata extracted by external tools (EXIF, file types, etc.)
- Orient: explore with filters and queries, survey a location (what’s archived, where it connects, what’s unique), or sweep all roots for the places where one action resolves the most
- Archive selected files to a canonical location, at your own pace
- Resolve the rest: exclude what is not worth keeping, and retire storage once everything on it is archived or excluded
Each step is revisitable, and Canon tracks what’s already archived.
Scanning and querying never modify or move your files.
To get started, see Setup and Getting Started.