-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combine the mcfly databases on different machines. #189
Comments
They're SQLite databases so you'd need to merge each of their tables. This would take a bit of code, but should work. |
Why not implement the corresponding option in |
How would you envision that option working? Alternatively, you could try synchronizing the database using something like Dropbox or Syncthing? |
Just an idea, no specific scenario.
Do you mean to use a centralized cloud storage workflow? |
Now that I think about it, Dropbox wouldn't work because the database would always conflict. I'm not sure what a clean way would be to support streams from multiple machines besides having a merge tool, or maybe allowing it to read from multiple DBs that are then synced. I think this is out of scope for this project, though. |
What about git + a merge driver like the one https://github.com/larkery/zsh-histdb uses? |
I think this also would be a super useful feature, I've wasted multiple hours today trying to import another mcfly history. |
I'm open to contributions of a merge tool, or an ENV variable that lists multiple DBs to read from. |
Assuming I run
mcfly
on multiple machines, onemcfly
database file will be generated on each machine. So, the problem is how to combine thesemcfly
databases into one.Regards,
HY
The text was updated successfully, but these errors were encountered: