masscode_merge/README.md

26 lines
881 B
Markdown
Raw Normal View History

2024-10-14 22:48:31 +00:00
# masscode_merge
2024-10-14 21:46:25 +00:00
2024-10-14 22:48:31 +00:00
##### Utility to merge massCode snippet databases
2024-10-14 21:46:25 +00:00
[massCode](https://masscode.io/), a cross-platform snippet manager, currentlydoesn't have native support for merging separate snippet databases.
I needed to merge databases from my Mac and PC into a new unified database.
So, `masscode_merge` was born.
2024-10-14 22:48:31 +00:00
masscode_merge processes both db files, and merges then into a single db file, preserving folder structures, including nested folders, while avoiding duplicates.
2024-10-14 21:46:25 +00:00
It is coded in [BCX](https://bcxbasiccoders.com/), which is a Basic to C/C++ transpiler, and uses the [Parson]([GitHub - kgabis/parson: Lightweight JSON library written in C.](https://github.com/kgabis/parson)) json library.
It is currently Windows-only, but Linux and macOS versions are being worked on.
2024-10-14 22:48:31 +00:00
### How to use, once compiled
Usage: merge_masscode.exe <file1.db> <file2.db>