r/foss • • 12h ago

trying to keep a folder in sync between computers without dropbox, open source options i found

trying to keep a folder in sync between a couple of computers without paying for dropbox. not a complete list, just a few that still look maintained.

syncthing keeps folders in sync between your own devices, without a central server. official builds are on windows, mac and linux

rclone is a command line tool for syncing a folder to a server or to cloud storage, including a two-way sync mode. official builds are on windows, mac and linux

unison is a two-way sync tool for two folders, including between windows and linux or mac. official builds are on windows, mac and linux

has anyone here landed on a simple setup for this, or is there a better fit i'm missing?

6 Upvotes

18 comments sorted by

9

u/seizedengine 12h ago

Syncthing is a fantastic tool for this

7

u/dcherryholmes 12h ago

Syncthing is probably the correct answer. But the old-school solution, assuming one of them is always up as a server, is to make it an nfs server and remotely mount a share on as many computers as you like. Another option, better if you are running windows and/or osx, would be samba.

4

u/noobjaish 12h ago

Syncthing

1

u/ryuh99 9h ago

The one thing all these miss as feature is to DELETE files from the local server, once synced, after a certain period (1-2 weeks)

1

u/Monoyo- 8h ago

syncthing doesnt really have a built-in timer for that. do you want the files dropped from the server after 1-2 weeks but kept on the other computers, or cleaned off the laptops too?

2

u/bender_fut 12h ago

If you have a server:

OpenCloud, the very best option, fast, reliable, one single binary to maintain.

Netxcloud if you need tons of options and extras.

Seafile I don't think it's worth it but you can try it.

1

u/nonlinear_nyc 12h ago

I'm still sad at BitTorrent sync, then resilio sync, suddenly demanding logins from people. Shit was great not just to use it, but to pass on to non-techie friends (the whole point of sharing ha)

Fuckers mangled their product at same time they did a rebrand, it's like they wanted to be forgotten.

1

u/CorsairVelo 10h ago

Did (does?) resilio sync have capabilities that Syncthing lacks?

2

u/nonlinear_nyc 9h ago

Nah. It was simpler. Just two connected folders on diff devices. Not even user auth. And torrent technology, encrypted, no cloud.

They snshittified their product to death. What to do.

Syncthing is powerful yes but it's too cumbersome for sharing with friends. Onboarding and handshake are confusing b

2

u/VincentVanGob 8h ago

they have/had a feature that will sync placeholder files, like say you have a music folder on your server but dont want to sync the whole thing locally to your laptop, you can still have all the files show up but they are really just shortcuts, then you manually choose which you want to sync

i missed that when i switched to syncthing but i actually prefer using syncthings ignore file now. i have a list of artists folders in an ignore file that are using the inverted ignore pattern, so any time i get a new computer those artists are downloaded without me having to pick them manually each time

1

u/ekool 10h ago

If they don't need to be immediate, rsync in a cron job with a lock file so it doesn't run more than one simultaneously. That's what I use on my servers, but they don't need to stay in sync instantly. Running every 5 minutes is fine for me.

1

u/CorsairVelo 10h ago

I use rclone and syncthing. Syncthing is incredibly fast peer-to-peer over a LAN.

Rclone i use primarily use as more of a backup tool to cloud folders (in my case koofr vault)

1

u/fuldigor42 9h ago

OpenCloud if you have a server

Syncthing peer to peer

1

u/IceDoomer 8h ago

Syncthing.

1

u/Rex__Luscus 7h ago

I found that FreeFileSync was a lot simpler to set up than Syncthing, though it's quite a long time since I tried to use Syncthing.

1

u/JayBigGuy10 5h ago

Syncthing, through the synctrayzor wrapper if on Windows

1

u/dxnxax 2h ago

Vigo (https://vigo.alexander4.io) does this with a P2P service called longdrawer. Windows, Mac and Linux. Vigo is far more than this and might be more than someone wants to set up just for this service.

Longdrawer is also not one-way sync. It functions just like a drawer that spans systems. If you add a file on system A, all other systems see the file. If you then remove the file with system Z, all other systems will no longer see the file.

1

u/Known_Experience_794 2h ago

I use syncthing for this. I have about 5 computers staying in sync. I also setup a small vps as an “untrusted” server to keep things in sync across different sites.