cli

tsmtool

login to tarsnap.com and output account status as JSON data

config file: ~/.tsmtool format: whitespace-delimited ASCII file; one line per account example: account email_address password

tsmtool [OPTIONS] [ACCOUNT]

Options

--version

Show the version and exit.

-c, --config-file <config_file>

config file for tsmtool

-e, --email <email>

email address website login

-p, --password <password>

password for website login

--rows

include all row data

--balances

include daily balances

--payments

include payments

--raw

raw data only (skip calculated fields)

--list

list accounts in config file

--all

generate report for all accounts in config file

-d, --debug

debug mode

Arguments

ACCOUNT

Optional argument

Environment variables

TSMTOOL_CONFIG

Provide a default for -c

TSMTOOL_EMAIL

Provide a default for -e

TSMTOOL_PASSWORD

Provide a default for -p