py-treesum

Synopsis

py-treesum [--help | -h] [--version | -v] [–debug]

py-treesum [GLOBAL OPTIONS] subcommand

Description

Generate a “fingerprint” or “message digest” of directory trees.

Global Options

--help, -h

Print a short help message to stdout and exit.

This is the same as subcommand help.

--version, -v

Print the program’s version to stdout and exit.

This is the same as subcommand version.

--debug

Activate debug output to stderr.

Subcommands

help [SUBCOMMAND]

Print a short help message to stdout and exit.

If no SUBCOMMAND is given this is the same as the global option --help.

A given SUBCOMMAND yields the subcommand’s help and is the same as py-treesum SUBCOMMAND --help.

version

Print the program’s version to stdout and exit.

This is the same as the global option --version.

generate

Generate “fingerprints” or “message digests” for directory trees. The output is a “treesum” file.

gen

This is an alias for the generate subcommand.

See generate.

info

Read and print “treesum” files generated by generate.

filetypes

Show the filetype indicators for all sorts of files.

patterns

Show the help for PATTERNs and exit.

See Also

generate, info, file format, file types, filter patterns

Bugs

  • Evaluate the impact of these Python changes:

    • PEP 528 (Change Windows console encoding to UTF-8, Python 3.6+)

    • PEP 529 (Change Windows filesystem encoding to UTF-8, Python 3.6+)

    • PEP 686 (Make UTF-8 mode default, Python 3.15+) and PEP 540 (Add a new UTF-8 Mode)

    Todo

    Test with Python 3.15!