Earlier quoted context omitted.
I do this, but 90% of the time I forget to pull on the other machine and have to deal with conflicts.
Check out Sparkleshare.
My one-liner Linux Dropbox client
111–120 of 165 posts
Re: My one-liner Linux Dropbox client
#112Dropbox 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.
If you trust https://www.dropbox.com/en_GB/security#files , then they have encryption on transport and at rest in the DC, and implement forward secrecy and certificate pinning.
Transport security and at-rest security is very important (and is the best you can do if you want Dropbox's ability to access your files, e.g., so their servers can show your files in a web interface), but it's not the same sort of thing as end-to-end encryption.
Re: My one-liner Linux Dropbox client
#113Re: My one-liner Linux Dropbox client
#114Dropbox will work if you just create a local loopback file for an ext4 filesystem and mount the Dropbox folder on it.
The above is a great answer. To expand on this (from some googling). All of this requires root. 1) Create a sparse file (actual size depends on usage) truncate -s 100G /home/zzz/Dropbox.image 2) Create a ext4 filesystem on it mkfs.ext4 -m0 /home/zzz/Dropbox.image 3) Mount it as a loopback file system sudo mount /home/zzz/Dropbox.image /home/zzz/Dropbox-fs 4) Create / Copy your dropbox folder to Dropbox-fs sudo mkdir…
Re: My one-liner Linux Dropbox client
#115I setup Syncthing [1] to do the same for my vimwiki folder. It was surprisingly easy, and doesn't require any external storage services. And it can even automatically sync files without internet, over the local network. [1] https://syncthing.net/
If you don't need mobile support, you (not parent, but someone else reading this) should try Unison. I use it and can vouch for its reliability, and if your use case is simple (sync files between N computers with a central server), then it's probably the best tool for the job as it's considerably faster than syncthing.
Re: My one-liner Linux Dropbox client
#116Earlier quoted context omitted.
I'm sorry if this is a stupid question: If I have my desktop and my laptop, both using syncthing, does one (my desktop) need to always be online for me to sync files from my other device (my laptop)? I'd love to use something else besides Dropbox, but it's convenient that Dropbox works as the middleman that is always operating.
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.
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?
Re: My one-liner Linux Dropbox client
#117Earlier quoted context omitted.
The above is a great answer. To expand on this (from some googling). All of this requires root. 1) Create a sparse file (actual size depends on usage) truncate -s 100G /home/zzz/Dropbox.image 2) Create a ext4 filesystem on it mkfs.ext4 -m0 /home/zzz/Dropbox.image 3) Mount it as a loopback file system sudo mount /home/zzz/Dropbox.image /home/zzz/Dropbox-fs 4) Create / Copy your dropbox folder to Dropbox-fs sudo mkdir…
I've never heard of a 'loopback filesystem' before. Can you expand a little on what this is?
See the man page for `mount`: https://linux.die.net/man/8/mount (search for "loop")
Re: My one-liner Linux Dropbox client
#118Earlier 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?
Re: My one-liner Linux Dropbox client
#119Earlier 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!
I wouldn't know where to start if you want to use ubuntu or another more user friendly distribution though.
Re: My one-liner Linux Dropbox client
#120Earlier quoted context omitted.
Sadly, the Android-App still can't save stuff on the SD card. My main show-stopper.
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.