table of contents
other versions
- wheezy 0.14-1
- wheezy-backports 0.18-1~bpo70+1
- jessie 0.18-1
- testing 0.20-1
- unstable 0.20-1
SUMMAIN(1) | General Commands Manual | SUMMAIN(1) |
NAME¶
summain - gather file checksums and metadataSYNOPSIS¶
summain [-c=CHECKSUM] [--checksum=CHECKSUM] [--config=FILE] [--dump-config] [--dump-memory-profile= METHOD] [--dump-setting-names] [--exclude=FIELD] [--generate-manpage= TEMPLATE] [-h] [--help] [--list-config-files] [--log=FILE] [--log-keep=N] [--log-level=LEVEL] [--log-max=SIZE] [--log-mode=MODE] [-m] [--mangle-paths] [--no-default-configs] [--output= FILE] [-f=OUTPUT-FORMAT] [--output-format=OUTPUT-FORMAT] [-r] [--relative-paths] [--secret=SECRET] [--version] [FILE]...DESCRIPTION¶
summain gathers metadata about files, and computes their checksums. It is intended to create a manifest of the files. The manifest can be used to see if something has changed: a new manifest can be created and compared with the old one with diff(1). The manifest looks like this:-
Name: foo/bar/foobar SHA1: 1234123413241324 Mtime: 2010-01-01 02:08:00.127651 +0000 Mode: 1755
OPTIONS¶
- -c, --checksum=CHECKSUM
- which checksums to compute: MD5, SHA1, SHA224, SHA256, SHA384, SHA512; use once per checksum type (default is SHA1)
- --config=FILE
- add FILE to config files
- --dump-config
- write out the entire current configuration
- --dump-memory-profile=METHOD
- make memory profiling dumps using METHOD, which is one of: none, simple, meliae, or heapy (default: simple)
- --dump-setting-names
- write out all names of settings and quit
- --exclude=FIELD
- do not output or compute FIELD
- --generate-manpage=TEMPLATE
- fill in manual page TEMPLATE
- -h, --help
- show this help message and exit
- --list-config-files
- list all possible config files
- --log=FILE
- write log entries to FILE (default is to not write log files at all); use "syslog" to log to system log, or "none" to disable logging
- --log-keep=N
- keep last N logs (10)
- --log-level=LEVEL
- log at LEVEL, one of debug, info, warning, error, critical, fatal (default: debug)
- --log-max=SIZE
- rotate logs larger than SIZE, zero for never (default: 0)
- --log-mode=MODE
- set permissions of new log files to MODE (octal; default 0600)
- -m, --mangle-paths
- mangle (obfuscate) paths
- --no-default-configs
- clear list of configuration files to read
- --output=FILE
- write output to FILE, instead of standard output
- -f, --output-format=OUTPUT-FORMAT
- choose output format (rfc822, csv, json)
- -r, --relative-paths
- print paths relative to arguments
- --secret=SECRET
- use SECRET to make mangled paths unguessable
- --version
- show program's version number and exit