I use codebook which allows syncing directly between devices, to a local folder, to Google Drive, or to Dropbox. It doesn’t have Linux support though.
I’ve been really happy with it, and it’s a one-time cost (per device though). The company who makes it also makes an open source encryption layer for SQLite.