CristianHenzel / ClipIt

ClipIt clipboard manager for GTK+
https://github.com/CristianHenzel/ClipIt
GNU General Public License v3.0
645 stars 83 forks source link

How can I backup my ClipIt data? #121

Open Yekutiel opened 5 years ago

Yekutiel commented 5 years ago

The title says it all. By the way, I use GalliumOS 2.1 which is based on Ubuntu 16.04.

sushant12 commented 4 years ago

the clipit history is stored in a binary file(https://github.com/CristianHenzel/ClipIt/blob/master/src/history.h#L27)

You can either manually keep copies of it or, or you can write a script to read and parse that file and then push it to your cloud.

Yekutiel commented 4 years ago

Thank you very much Sushant. I have manually uploaded a copy to my Google Drive.

Here's a feature suggestion, which I assume you have probably already considered: add an "export your data" button to ClipIt. I imagine technically it would merely copy clipit/history to a location the user was more familiar with. But you know, Apple Inc is this tiny little company that barely makes any profit at all (sarcasm) by creating products that are very user friendly.

DJCrashdummy commented 3 years ago

You can either manually keep copies of it or, or you can write a script to read and parse that file and then push it to your cloud.

there is already a script at https://github.com/CristianHenzel/ClipIt/issues/10#issuecomment-8359453 (no idea if it still works) to parse the binary file. ...so i guess this issue became somehow a duplicate of #10.

btw: your settings are stored at $HOME/.config/clipit/clipitrc.

Yekutiel commented 3 years ago

Thanks for letting me know. I appreciate that.

I no longer use ClipIt. Now I use CopyQ. And I did create a bash script to help me backup my data to a cloud.