Command-Line Reference
Every end-user colpan command, grouped by area.
activity
colpan activity— What Colpan has been doing — a chronological feed of operations (previews, searches, indexing, OCR, …) with timing + outcome, read from the durable activity log on disk
cloud — Manage cloud sources (Google Drive, S3, WebDAV, …)
colpan cloud fetch <name> <uri> <out>— Fetch a single file to a local pathcolpan cloud list— List all cloud sources defined in config.tomlcolpan cloud ls <name>— List files under a remote pathcolpan cloud stat <name> <uri>— Show metadata for a single cloud URI
config
colpan config show
convert — Convert documents between formats (via LibreOffice)
colpan convert file <input> <output>— Convert a file to another formatcolpan convert formats— List supported formatscolpan convert to-pdf <input>— Convert a file to PDF
export
colpan export <query>— Export search results as JSON Lines (agent fine-tuning workflows)
filter — Filter presets (extensions, size limits, exclusions)
colpan filter add-ext <name>— Add extensions to a filtercolpan filter copy <source> <target>— Copy a builtin filter to a new editable filtercolpan filter create <name>— Create a new filter presetcolpan filter delete <name>— Delete a custom filtercolpan filter listcolpan filter remove-ext <name>— Remove extensions from a filtercolpan filter set-size <name>— Set size limits for a filtercolpan filter show <name>
group — Group (index) management - directories and rules
colpan group add-cloud-dir <group> <source> <remote_path>— Add a cloud directory backed by a defined cloud sourcecolpan group add-dir <group> <path>— Add directory to groupcolpan group attach <profile> <group>— Attach group to a profilecolpan group clear-alias <group>— Clear alias from a groupcolpan group create <group>— Create a new groupcolpan group delete <group>— Delete a groupcolpan group detach <profile> <group>— Detach group from a profilecolpan group disable <group>— Disable a groupcolpan group enable <group>— Enable a groupcolpan group exclude <group> <path>— Exclude a subdirectorycolpan group exclude-file <group> <path>— Exclude a specific filecolpan group export <group> <output>— Export group config to filecolpan group export-bundle <group> <output>— Export the full index (config + Tantivy data) as a .colpan ZIP bundle — the snapshot you publish to a shared folder for read-only distribution. Unlikeexport(config only), this carries the data. Run it while the group isn’t indexing so the snapshot is consistent. The write is atomic (temp + rename); if the destination is locked by a reader mid-copy, it waits up to —wait-secs before giving upcolpan group group-info <group>— Show group statisticscolpan group import <file>— Import group config from filecolpan group include <group> <path>— Re-include within excluded areacolpan group include-file <group> <path>— Include a specific file within excluded areacolpan group list— List all groupscolpan group list-rules <group>— List all rules for a groupcolpan group publish <group>— Publish a group’s index now to its configured publish path — the manual “share now”. Skips when the index is unchanged unless —forcecolpan group remove-dir <group> <path>— Remove directory from groupcolpan group remove-rule <group> <path>— Remove a rule by pathcolpan group rename <old> <new>— Rename a groupcolpan group set-alias <group> <alias>— Set alias for a groupcolpan group set-archive-ext <group> <ext> <formats>— Set or clear a per-extension archive scope override. Formats: “global” (inherit) | “none” | comma-listcolpan group set-archive-global <group> <formats>— Set the group’s global archive scope (formats expanded by default). Formats: “none” | “all” | comma-list of zip,rar,7z,tar,isocolpan group set-description <group> <text>— Set description for a groupcolpan group set-filter <group> <filter>— Set the filter preset for an existing group. Extensions, size limits, and exclude lists are resolved from the filter at index time — see `filter show <name>` for what will applycolpan group set-language <group> <language>— Set this group’s document language for stemming. Lang: ISO code (“en”, “tr”, “de”) or a Snowball name (“english”); “auto” or “clear” follows the globalindexing.stem_language/ OS locale. Applies to the next (re)index — existing segments keep their analyzercolpan group set-max-size <group> <ext> <size>— Set per-extension max size override. Size: “1KB”/“5MB”/… or “0”/“none” to clearcolpan group set-min-size <group> <ext> <size>— Set per-extension min size override. Size: “1KB”/“5MB”/… or “0”/“none” to clearcolpan group set-ocr-ext <group> <ext> <engine>— Set per-extension OCR engine override. Engine: off | auto | oar | tesseract | system | plugin:<name> | global (clear override)colpan group set-publish <group>— Configure periodic read-only publishing for a group: a .colpan snapshot is written to —path every —every seconds (when the index has changed). 0 / —off = manual only (usegroup publish)colpan group show <group>— Show group details
index — Build, inspect, and maintain search indexes
colpan index browse— Browse indexed files (list all documents in index)colpan index delete-dir <path>— Delete all files in a directory from the indexcolpan index delete-file <path>— Delete a file from the index by pathcolpan index info— Show index statistics (format counts, sizes, top directories)colpan index startcolpan index status
info
colpan info
models — Unified model pack catalog + downloader (OCR / LLM / NER). Replaces colpan ocr models … with a kind-aware surface
colpan models download <id>— Download a named pack — kind resolves automatically from the idcolpan models list— List every manifest plus install status.--kindfilterscolpan models where— Where models live on disk (respecting config override)
ocr — Manage OCR engine selection and language
colpan ocr list— Full status — mode, engine, per-engine availability + langs, model installscolpan ocr probe— Probe every engine with a tiny synthetic 4x4 image — CI-style sanity check that the registered backends respond without crashingcolpan ocr set-enabled <value>— Master on/off — equivalent to checking “Enable OCR” in the GUIcolpan ocr set-engine <engine>— Engine selectioncolpan ocr set-language <language>— Language string (eng+tur|tur| …)colpan ocr system langs— Show installed platform OCR languages (scaffold — empty list on unwired builds)
pii — Manage PII filter settings (categories, term allowlists)
colpan pii auto-scan <value>— Enable or disable auto-scan on preview opencolpan pii disable-category <category>— Disable a PII category (e.g. DATE, URL, IBAN, EMAIL, PHONE)colpan pii disable-term <term>— Temporarily disable a custom term without removing it from the vaultcolpan pii dismiss <term>— Dismiss a specific detected value (false-positive allowlist)colpan pii enable-category <category>— Re-enable a previously disabled categorycolpan pii enable-term <term>— Re-enable a disabled custom termcolpan pii show— Show current PII filter state (categories, terms, allowlist)colpan pii undismiss <term>— Remove a term from the dismissed listcolpan pii vault clear— Truncate every entry + custom term in the vault. The vault_id and the master key are preserved (share/restore exports still resolve). Use this to wipe accumulated NER noise from a session of preview scans without nuking the master keycolpan pii vault export <path>— Export every vault entry to a CSV file (no tokens — see Import)colpan pii vault import <path>— Import acategory,originalCSV produced byexportor hand-written. Tokens are NOT in the file — they’re regenerated on insert with the active vault’s vault_id saltcolpan pii vault list— List vault entries (header + count + first N rows)
plugin — Inspect discovered plugins
colpan plugin disable <id>— Persistently disable a plugin (written to config.plugins.disabled). Takes effect next time the app/CLI loadscolpan plugin enable <id>— Re-enable a previously disabled plugincolpan plugin list— List all discovered plugins with statuscolpan plugin show <id>— Show full manifest for a single plugin
profile — Manage profiles (workspaces)
colpan profile add-dir <name> <path>colpan profile create <name>colpan profile delete <name>colpan profile listcolpan profile remove-dir <name> <path>colpan profile show <name>
search — Query the index
colpan search <query>— Query the index
search-saved — Manage saved (pinned) CQL search queries
colpan search-saved add <query>— Pin a CQL query for quick reuse. No-op if already savedcolpan search-saved list— Show every pinned search query, newest pin firstcolpan search-saved remove <query>— Unpin a previously saved query. No-op if not presentcolpan search-saved rename-category <old> <new>— Rename every entry whose category equalsoldtonew. Emptynewmoves them into Uncategorized (which is a re-categorise, not a delete — pins survive)colpan search-saved set-category <query> <category>— Move a saved query into a category bucket. Empty category drops it into “Uncategorized”. Errors if the query isn’t savedcolpan search-saved set-label <query> <label>— Set a friendly label for a saved query. Empty label renders the raw query. Errors if the query isn’t saved yet
settings — Desktop integration settings — autostart, start-minimized, tray-on-close
colpan settings autostart— PC startup auto-launch. Omitstateto read current valuecolpan settings mode— UI mode preset (built-insimple/advanced, or any[modes.<name>]defined in config.toml). Omitnameto readcolpan settings show— Print every desktop_integration setting (config + actual OS state)colpan settings start-minimized— Whether the autostart entry passes--minimized(start hidden)colpan settings tray-on-close— X-button intercept: whenon, X hides the window into the tray
starred — Manage starred collections
colpan starred add <collection> <path>— Add a file path to a collectioncolpan starred create <collection>— Create a new empty collectioncolpan starred delete <collection>— Delete a collectioncolpan starred list— List all collections with item countscolpan starred prune <collection>— Remove items whose paths no longer exist on diskcolpan starred remove <collection> <path>— Remove a path from a collectioncolpan starred rename <old> <new>— Rename a collectioncolpan starred show <collection>— Show items in a collection
status
colpan status— Live resource snapshot the running GUI mirrors to disk — loaded models / sessions / subprocesses with their RAM + CPU, plus active flows (indexing, OCR backfill, …)
watch — Watch for file changes and auto-reindex
colpan watch— Watch for file changes and auto-reindex