scan file
metacrafter scan file <filename> [options]
Detects format from the extension (including compression) and classifies each column. See Formats and File scanning.
File-specific options
| Flag | Meaning |
|---|---|
--delimiter | CSV/TSV delimiter (default: auto-detected) |
--tagname | XML tag that wraps records |
--encoding | Character encoding (default: auto-detected) |
--compression | auto, none, or a codec (gz, bz2, zip, …) |
Plus the shared scan options. Default --limit is
100 records per field.
Examples
metacrafter scan file somefile.csv --format short
metacrafter scan file data.parquet \
--format full \
--output-format json \
-o parquet_results.json
metacrafter scan file users.csv \
--fields email,phone,name \
--confidence 50.0 \
--contexts pii \
--format full \
-o filtered_results.json