You probably can't.
KeePass groups have UUIDs, just like entries and if you have groups in your import with a different / no UUID then you get a new group.
What is the import format?
How often do you need to import?
cheers, Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For example I am importing this file name. Its a few times a month. Its just the fact that it creates and empty folder each time and I would like to prevent this if possible. Do all the formats do the same thing due to the UUIDs?
Thanks again
Ian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For example if I add an entry and fill it out with details to and then export it to my desktop as .kdbx file.
Then I send it to some one to import it into their database. When the file is imported in their database it creates a group with no name as you can see in the attachment. If you think there is no solution to this I understand as I am not a developer.
I am not actually importing a group each time , its just an entry, populated and exported out, then sent to a another person to import.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The empty group is derived from the root group of the imported database. Import settings and the origin of the active and imported database determine whether an empty group is created from this root group.
If the 'Create new IDs' import behavior is selected, a new empty group is created because root group of the imported file is assigned a unique UUID when it is imported.
If any other import behavior is selected, an empty group won't be created if the active and imported database root group UUIDs match. Database root group UUIDs match if they originated as copies of each other.
If any other import behavior is selected, an empty group will be created if the active and imported database root group UUIDs don't match. If the empty group that is created is not deleted, and a database with a root group having the same UUID as the empty group is subsequently imported, e.g. a copy of the previously imported database, another empty group won't be created unless the import behavior is 'Create new IDs'.
Last edit: wellread1 2022-06-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is possible to avoid creating an empty group in the recipient's database if the recipient's entry is never or rarely updated. The recipient can copy and paste the entry into their database instead of importing it. As far as KeePass is concerned, the pasted entry is new and different. Use Ctrl+Shift+C to copy the entry encrypted and Ctrl+Shift+V to paste the entry. These commands can be accessed from the KeePass menu Entry>Data Exchange>Copy Entry (Encrypted) and Entry>Data Exchange>Paste Entry.
To update the recipient's database send an updated entry copy. The recipient can delete the old entry copy, then copy and paste the new entry copy. Edits made by the recipient to the old entry copy are lost.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When Importing in to Keepass it is creating a group unnecessarily. How can I prevent this from happening?
Thank you for your support?
Thanks,
Ian
You probably can't.
KeePass groups have UUIDs, just like entries and if you have groups in your import with a different / no UUID then you get a new group.
What is the import format?
How often do you need to import?
cheers, Paul
KeePass Generator.kdbx
For example I am importing this file name. Its a few times a month. Its just the fact that it creates and empty folder each time and I would like to prevent this if possible. Do all the formats do the same thing due to the UUIDs?
Thanks again
Ian
For example if I add an entry and fill it out with details to and then export it to my desktop as .kdbx file.
Then I send it to some one to import it into their database. When the file is imported in their database it creates a group with no name as you can see in the attachment. If you think there is no solution to this I understand as I am not a developer.
I am not actually importing a group each time , its just an entry, populated and exported out, then sent to a another person to import.
The empty group is derived from the root group of the imported database. Import settings and the origin of the active and imported database determine whether an empty group is created from this root group.
Last edit: wellread1 2022-06-24
It is possible to avoid creating an empty group in the recipient's database if the recipient's entry is never or rarely updated. The recipient can copy and paste the entry into their database instead of importing it. As far as KeePass is concerned, the pasted entry is new and different. Use
Ctrl+Shift+Cto copy the entry encrypted andCtrl+Shift+Vto paste the entry. These commands can be accessed from the KeePass menuEntry>Data Exchange>Copy Entry (Encrypted)andEntry>Data Exchange>Paste Entry.To update the recipient's database send an updated entry copy. The recipient can delete the old entry copy, then copy and paste the new entry copy. Edits made by the recipient to the old entry copy are lost.