Forrest logo
back to the keepassxc-cli tool

keepassxc-cli:tldr:993a8

keepassxc-cli: Delete an entry.
$ keepassxc-cli rm ${path-to-database_file} ${entry_name}
try on your machine

This command is used to remove an entry (password or username) from a KeePassXC database file using the KeePassXC command-line interface (CLI). Here's an explanation of the different components of the command:

  • keepassxc-cli: This is the command used to interact with KeePassXC using the CLI.
  • rm: This is a command option that indicates the action to be performed, which is removing an entry.
  • ${path-to-database_file}: This represents a placeholder for the actual path to the KeePassXC database file. You should replace ${path-to-database_file} with the specific file path on your system.
  • ${entry_name}: This represents a placeholder for the name of the entry (password or username) that you want to remove from the database. You should also replace ${entry_name} with the actual name of the entry you wish to remove.

Once you replace ${path-to-database_file} and ${entry_name} with the appropriate values, the command will be executed, and the specified entry will be removed from the KeePassXC database file.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the keepassxc-cli tool