this post was submitted on 29 Aug 2024
27 points (100.0% liked)

Linux

81 readers
12 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
 

Should be a very common issue

KeepassDX + KeepassXC, Android to Linux.

Synced with Syncthing.

I do a change on the password manager on one device and on another, Android killed Syncthing again so now I have 2 files, one called "sync conflict".

Both files have some new change, I need to keep both.

When using the import feature in KeepassXC, I think everything is duplicated. This would be the best place to do this.

Any idea how to merge them or at least show the diffs?

Displaying all entries, without folders, sorted by date, could also already help.

kinda-solution

In KeepassXC, bottom left, "all entries". Alternatively, search for "*".

Then sort by date.

This helps to compare the most recent changes, and copy them over to the want-to-keep version of the file.

top 5 comments
sorted by: hot top controversial new old
[–] mirkl@programming.dev 3 points 2 months ago (1 children)

I open both dbs and sort all entries by ’modified’

[–] boredsquirrel@slrpnk.net 2 points 2 months ago

Hm, yes I also had some false positives

[–] fosstian@fosstodon.org 0 points 2 months ago (2 children)

@boredsquirrel KeePassXC can export to CSV format, you could then diff those

[–] kinetic_donor@lemmy.zip 1 points 2 months ago

I think you're missing a lot of metadata (last modified, history?) in those files. Haven't checked in a while, though.

[–] boredsquirrel@slrpnk.net 1 points 2 months ago

True, this would be an okay backup solution!