ForensicLens v1.2.0 — Batch Directory Scanning
ForensicLens v1.2.0
Adds a batch CLI subcommand to scan an entire directory of images at once, instead of running the tool one image at a time.
New CLI command
forensiclens-cli batch [--no-recursive] [--extensions jpg,png] [--max-concurrency N] [--format json|csv] [--output ]
Features
- Concurrent analysis — images are processed in parallel via Swift Concurrency, bounded by
--max-concurrency(defaults to available CPU cores) - Per-file fault isolation — a corrupt or unreadable file is logged and skipped without aborting the rest of the batch
- Live progress — a running "X/Y processed" indicator prints to stderr during the scan
- Sorted summary report — results ordered by suspicion score descending, with each entry's top contributing anomalies
- Flexible output — human-readable console table by default, or
--format json/--format csvwritten to a file with--output - Filtering —
--extensionsto control which file types are scanned,--no-recursiveto limit the scan to the top-level directory only
Notes
Batch mode reuses the existing single-image analysis pipeline (Analyzer protocol + SuspicionScorer) — no separate analysis logic, so results are identical to running the tool on each file individually.
See the README for full CLI usage examples.