This is a small, customizable script to generate a csv file in the Bitwarden format from a zx2c4 password store.
The only dependencies needed are python 3.6+, a working
installation of pass
and GNU find
(I think).
$ python migrator.py | tee passwords.csv
If you think your pass
directory structure is unconventional,
the most important part of the program is the create_elem
function.
Adapt that function to your needs and run the program.
If you feel like your changes can be useful to more people, feel free to open a pull request.