Live data from Hacker News

My one-liner Linux Dropbox client

lpan.io

141–150 of 165 posts

Re: My one-liner Linux Dropbox client

#141

Dropbox is a no no for one simple reason - there is no end to end encryption. Unless I don't know something? I wouldn't want a disgruntled employee to fiddle with my files.

Is there any Dropbox-like service that lets you control your own private keys, without resorting to the ugliness of uploading an encrypted image to Dropbox?

There is restic

Re: My one-liner Linux Dropbox client

#143

Consider using git or another SCM instead. You don't need a centralized server, you can push/pull between any two machines with ssh (or a handful of other protocols). Encrypted end to end. Supports branches, useful for stuff like dotfiles on different machines. You don't need commit messages, just make an alias to add all changes and commit with and empty message. You have a full history, can revert back to any state…

Doesn't work for non text non code files that people normally use Dropbox for. For example, word docs, excel spreadsheets etc.

Of course it does. There's no such restriction in git, you can track binary files just fine.

Re: My one-liner Linux Dropbox client

#144

Earlier quoted context omitted.

It can only sync data between devices that are operating of course. But if you have three devices A,B,C then it can also sync A-B and later sync B-C, or sync A-C directly if both are running.

> It can only sync data between devices that are operating of course. What does this mean? Does my desktop always need to be on? Or, can I change a file on my laptop, then, when I turn on my desktop, get those changes on the same file?

You would need to have a chronological chain of pairs of devices operating at the same time, beginning with your laptop and ending with your desktop.

I tend to use my phone to ferry information between home pc and work pc. If I change something in my sync folder at work, I'll run sync thing on the pc and phone before leaving, then run it on my home pc and phone when I want the information to update on my home pc.

Another option is to simply have a third system (eg your own server) which is constantly operating on the Internet and running sync thing.

Re: My one-liner Linux Dropbox client

#146
post #120
post #82

Earlier quoted context omitted.

It's an Android permission issue. Put it into /sdcardX/Android/data/com.nutomic.syncthingandroid/files/ and Syncthing can write to the folder just fine.

The devs should fix this.

They fundamentally cannot fix it. Unless you mean the people developing Android.

Re: My one-liner Linux Dropbox client

#148
post #147
post #146

Earlier quoted context omitted.

They fundamentally cannot fix it. Unless you mean the people developing Android.

Other apps can use the SD card just fine. Example: Nextcloud

Nextcloud has the exact same SD limitation of needing an app-specific folder. For syncthing it's Android/data/com.nutomic.syncthingandroid/files/ and for nextcloud it's Android/media/com.nextcloud.client.

Re: My one-liner Linux Dropbox client

#149
post #148
post #147

Earlier quoted context omitted.

Other apps can use the SD card just fine. Example: Nextcloud

Nextcloud has the exact same SD limitation of needing an app-specific folder. For syncthing it's Android/data/com.nutomic.syncthingandroid/files/ and for nextcloud it's Android/media/com.nextcloud.client.

I don't mind an app specific folder. The app should do it for you.

Re: My one-liner Linux Dropbox client

#150
post #83

Earlier quoted context omitted.

I use full-disk encryption on my old thinkpad. As in, the whole disk is encrypted, from first sector to last. There isn't even a MBR or a partition table on it! I boot the laptop from my USB stick which contains the kernel and initrd. That's what I call full-disk encryption ;)

I would love to see a post on how to set that up!

You _can_ do it with libreboot on ancient thinkpads, but it requires a decent time (or money) investment and some know-how. https://libreboot.org/docs/gnulinux/encrypted_trisquel.html
Post reply on HN