snippetbashTip
keepassxc-cli — Interface for KeePassXC. More information: <https://manned.org/keepassxc-cli>.
Viewed 0 times
commandinterfacekeepassxcclimoreinformationkeepassxc-clifor
Problem
How to use the
keepassxc-cli command: Interface for KeePassXC. More information: <https://manned.org/keepassxc-cli>.Solution
keepassxc-cli — Interface for KeePassXC. More information: <https://manned.org/keepassxc-cli>.Search entries:
keepassxc-cli search {{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 {{[-g|--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 {{[-t|--totp]}} {{path/to/database_file}} {{entry_name}}Generate a passphrase with 7 words:
keepassxc-cli diceware {{[-W|--words]}} 7Generate a password with 16 printable ASCII characters:
keepassxc-cli generate {{[-lUns|--lower --upper --numeric --special]}} {{[-L|--length]}} 16Code Snippets
Search entries
keepassxc-cli search {{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 {{[-g|--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}}Context
tldr-pages: common/keepassxc-cli
Revisions (0)
No revisions yet.