masscode_merge/README.md

20 lines
808 B
Markdown
Raw Permalink 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:54:57 +00:00
### Utility to merge massCode snippet databases
2024-10-14 21:46:25 +00:00
2024-10-14 22:03:40 +00:00
[massCode](https://masscode.io/), a cross-platform snippet manager, currently doesn't have native support for merging separate snippet databases.
2024-10-14 21:46:25 +00:00
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
2024-10-14 22:02:39 +00:00
It is coded in [BCX](https://bcxbasiccoders.com/), which is a Basic to C/C++ transpiler, and uses the [Parson](https://github.com/kgabis/parson) json library.
2024-10-14 21:46:25 +00:00
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>