Skip to content

quant scan

Compare local files against what’s deployed to QuantCDN. Use it as a dry-run before quant deploy to see what would change.

Terminal window
quant scan [options]

scan walks the configured directory, calculates MD5 hashes, and reports which files differ from the CDN, are missing remotely, or exist on the CDN but no longer locally (and would be unpublished by deploy). It uploads nothing.

By default scan shows a full report. Use --diff-only to limit output to files that would be uploaded, or --unpublish-only to limit output to files that would be unpublished.

Flag Description Default
--diff-only Only show files that differ from QuantCDN. false
--unpublish-only Only show files that would be unpublished. false
--skip-unpublish Match deploy behaviour: ignore files that would be unpublished. false
--skip-unpublish-regex Regex of paths to keep published.
Terminal window
quant scan
Terminal window
quant scan --diff-only
Terminal window
quant scan --unpublish-only
Terminal window
quant scan --skip-unpublish-regex '^/legacy/.*'