libkeepass / pykeepass

Python library to interact with keepass databases (supports KDBX3 and KDBX4)
https://pypi.org/project/pykeepass/
GNU General Public License v3.0
403 stars 96 forks source link

What is the right approach to duplicate a group with all of its subgroups and entries? #362

Open rtl19 opened 9 months ago

rtl19 commented 9 months ago

I'm trying to add the ability to my program duplicate a group with all of its children. I'm able to walk through the source group just fine, however, I'm trying to figure out the best way to 'chop off' the source group path to enable creating the same group under a new parent group. Can you give me a good approach to doing this?