Replies: 1 comment 8 replies
-
You need to include everything into the echo pipe |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to create passwords for devices without user interaction and store them in keypass.
I tried something like
(echo mainpassword|keepassxc-cli.exe edit "C:\test.kdbx" MYUSER -p) < file_with_password.txt
but it did not work.
Another idea was to use interactive mode
keepassxc-cli.exe open "C:\test.kdbx" < file_with_commands.txt
with the contents of the file being
but also without success. The login with the password works fine, but the commands are dropped.
The "ls" was just to see if it works at all, but the interactive mode does not respond to any command.
Any ideas how this could be done?
Beta Was this translation helpful? Give feedback.
All reactions