Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command to save? #168

Open
ghost opened this issue Jul 31, 2019 · 3 comments
Open

Command to save? #168

ghost opened this issue Jul 31, 2019 · 3 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Jul 31, 2019

I am using Update-KeePassEntry to update a keepass entry but it would seem the password and notes that I am updating, do not appear until the DB is saved, which I have to do manually by pressing the diskette button on the button bar. Is there a cmdlet that allows me to save the DB?

@jkdba jkdba self-assigned this Aug 1, 2019
@jkdba jkdba added the question label Aug 1, 2019
@jkdba
Copy link
Member

jkdba commented Aug 1, 2019

Hi @jbruns2019, thanks for reaching out, question for clarification.

  • Do you have the KeePass desktop app open while you are running the Update-KeePassEntry command?
    • If that is the case, when you save from the UI you are synchronizing the UI and the keepass database file, which is why you see it update.
    • You could also achieve this by closing the keepass UI and re-opening or running the synchronize from file option in the UI: File> synchronize > synchronize from file which can also be run by executing ctrl+r.

The Update-KeePassEntry automatically saves its changes, as do all commands that change any object in the database.

I do have some preliminary plans/ ideas that would include invoking an synchronize but I don't believe that will effect the UI.

@jkdba
Copy link
Member

jkdba commented Aug 1, 2019

@jbruns2019 I also would not recommend running any of the modification commands with the KeePass UI open as it is untested and may result in odd behavior. See Issue #150.

@ghost
Copy link
Author

ghost commented Aug 1, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant