Command line interface to work with KeePass database file. The usage mode is inspired by pwsafe command
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
keepass.pl

README.md

keepass

Command line interface to work with KeePass database file. The usage mode is inspired by pwsafe command

Install dependencies

On Debian/Ubuntu

aptitude install libterm-readkey-perl libstring-random-perl libfile-keepass-perl xclip

cpan install Clipboard

Command line

$ ./keepass.pl --help
keepass - commandline tool compatible with KeePassX
Usage: keepass [OPTION] [NAME]
Options:
  -f, --file=DATABASE_FILE   specify the database file (default is ~/.keepass.kdb)
  -l                         long listing (show username & notes) [default]
  -u, --username             emit username of listed account
  -p, --password             emit password of listed account
  -E, --echo                 force echoing of entry to stdout
  -a, --add                  add an entry
  -c, --createdb             create an empty database
  -v, --verbose              print more information (can be repeated)
  -h, --help                 display this help and exit
  -V, --version              output version information and exit