capturemann import
Bring media files and pictures that CaptureMann did not record into the library as captures (import_media): import clip.mov memo.m4a photo.jpg --transcribe --wait. Files only. Starts a background job (jobs get <id>); --wait blocks until it ends. --remove-originals moves each original to the Trash after its copy is verified and asks on screen first
Same action as the MCP tool: import_media
- MCP tool: import_media, Free, can be set to Ask first
- Asks on screen: Normally no.
--remove-originals(without--dry-run) raises this command to Confirm: the app lists every file and asks first.
Synopsis:
Terminal
capturemann import [OPTIONS] <FILE>...Arguments:
| Argument | Description |
|---|---|
<FILE>... | The files to import (video: MP4, MOV, M4V, MKV with H.264 or HEVC; audio: M4A, WAV, MP3; pictures: PNG, JPEG, which become screenshots you can annotate). Relative paths and ~ are resolved here. Folders are refused |
Options (plus the global flags):
| Flag | Value | Allowed values | Default | Description |
|---|---|---|---|---|
--title | <TITLE> | A title for the file in the same position (repeat the flag in order; the file name is the default) | ||
--transcribe | switch | Transcribe each import afterwards (needs an installed speech model; skipped otherwise) | ||
--language | <CODE> | With --transcribe: the language code (default: detect) | ||
--diarize | switch | With --transcribe: label the speakers afterwards | ||
--report | <TEMPLATE> | With --transcribe: write a report from this template afterwards (ai report templates) | ||
--remove-originals | switch | Move each original to the Trash once its copy in the library is verified. The user must approve on screen (the dialog lists every file); without --wait the answer is awaited before the command returns the job | ||
--dry-run | switch | Only check the files and print what would happen; import nothing | ||
--wait | switch | Wait for the import to finish (the files in the library) and print one line per file. A transcript from --transcribe is a job of its own: its id is printed, it is not waited for. Exit 6 if no file was imported | ||
--timeout | <SECS> | With --wait: give up after this many seconds (exit 6; the job keeps running) |
Examples:
Terminal
$ capturemann import demo.png --waitimported /home/me/cm-demo/demo.png -> shot_06GYEY0TM4JZ7KGHimporting... 0% (stderr)
The output above was run against a headless daemon with an empty throw-away library.
Not run here (syntax only):
Shell
capturemann import interview.m4a clip.mov --transcribe --wait