From 5bacde463d927844e26f5e63517d3deda7f29152 Mon Sep 17 00:00:00 2001 From: Stig124 Date: Wed, 30 Jun 2021 10:40:57 +0200 Subject: [PATCH] keepassxc-cli: add page (#6071) --- pages/common/keepassxc-cli.md | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/keepassxc-cli.md diff --git a/pages/common/keepassxc-cli.md b/pages/common/keepassxc-cli.md new file mode 100644 index 0000000000..fe8b2247a9 --- /dev/null +++ b/pages/common/keepassxc-cli.md @@ -0,0 +1,36 @@ +# keepassxc-cli + +> Command-line interface for KeepassXC. +> More information: . + +- Search entries: + +`keepassxc-cli lookup {{path/to/database_file}} {{name}}` + +- List the contents of a folder: + +`keepassxc-cli ls {{path/to/database_file}} {{/path/to/directory}}` + +- Add an entry with an auto-generated password: + +`keepassxc-cli add --generate {{path/to/database_file}} {{entry_name}}` + +- Delete an entry: + +`keepassxc-cli rm {{path/to/database_file}} {{entry_name}}` + +- Copy an entry's password to the clipboard: + +`keepassxc-cli clip {{path/to/database_file}} {{entry_name}}` + +- Copy a TOTP code to the clipboard: + +`keepassxc-cli clip --totp {{path/to/database_file}} {{entry_name}}` + +- Generate a passphrase with 7 words: + +`keepassxc-cli diceware --words {{7}}` + +- Generate a password with 16 printable ASCII characters: + +`keepassxc-cli generate --lower --upper --numeric --special --length {{16}}`