OS Manuals

/opt/chainguard/duplicity/bin/chardetect

Encrypted backup using rsync algorithm

From duplicity 3.2.2-r5 (enterprise-packages), captured 2026-11-08 by running chardetect --help (exit 0). permalink

usage: chardetect [-h] [--minimal] [-l] [-m]
                  [-e {modern_web,legacy_iso,legacy_mac,legacy_regional,dos,mainframe,all}]
                  [-i INCLUDE_ENCODINGS] [-x EXCLUDE_ENCODINGS]
                  [--no-match-encoding NO_MATCH_ENCODING]
                  [--empty-input-encoding EMPTY_INPUT_ENCODING] [--version]
                  [files ...]

Detect character encoding of files.

positional arguments:
  files                 Files to detect encoding of

options:
  -h, --help            show this help message and exit
  --minimal             Output only the encoding name
  -l, --language        Include detected language in output
  -m, --mime-type       Include detected MIME type in output
  -e, --encoding-era {modern_web,legacy_iso,legacy_mac,legacy_regional,dos,mainframe,all}
                        Encoding era filter
  -i, --include-encodings INCLUDE_ENCODINGS
                        Comma-separated list of encodings to consider
  -x, --exclude-encodings EXCLUDE_ENCODINGS
                        Comma-separated list of encodings to exclude
  --no-match-encoding NO_MATCH_ENCODING
                        Encoding to return when detection is inconclusive (default: cp1252)
  --empty-input-encoding EMPTY_INPUT_ENCODING
                        Encoding to return for empty input (default: utf-8)
  --version             show program's version number and exit
Options (10)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
--minimalOutput only the encoding namehelp
-l, --languageInclude detected language in outputhelp
-m, --mime-typeInclude detected MIME type in outputhelp
-e, --encoding-era modern_webEncoding era filterhelp
-i, --include-encodings INCLUDE_ENCODINGSComma-separated list of encodings to considerhelp
-x, --exclude-encodings EXCLUDE_ENCODINGSComma-separated list of encodings to excludehelp
--no-match-encoding NO_MATCH_ENCODINGEncoding to return when detection is inconclusive (default: cp1252)help
--empty-input-encoding EMPTY_INPUT_ENCODINGEncoding to return for empty input (default: utf-8)help
--versionshow program's version number and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.