Live data from Hacker News

Untitled topic

news.ycombinator.com

51–60 of 62 posts

Re: undefined

#51
post #35

Earlier quoted context omitted.

> If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene. I use a tool that does that, it's called Syncthing.

Yeah but if you’re just syncing everything to and from a server anyway, why bother with it? Plus, rsync -a never deletes files.

Plus why doesn't sync thing support rsync protocols anyway? It's not like it couldn't, right?

Re: undefined

#52

I had a small issue with Syncthing-Fork on Android. The app defaults to having silent notifications so when I shared a new folder from other computer I didn't noticed it on my Android device and I thought it wasn't working because notifications are the only way you can accept and configure new share. Nothing else shows up even though I had the app opened all the time I was doing that.

you can open the web-gui from the menu and the notification should show up there

Re: undefined

#53
post #27

Earlier quoted context omitted.

I had similar issues years ago and it was frustrating. What I do now is have syncthing on a 'server' that is always on and everything syncs to the server and not between each device. That reduced my conflicts by 99%. Another issue I had was accidentally deleting a folder and having it deleted off of all my devices. To solve that issue I have my server do ZFS snapshots on my syncthing folder, which makes for easy reco…

Why not just use rsync -a periodically over an encrypted ssh connection? It works across Mac/Linux etc. and is just as efficient, no? If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene.

They're not the same thing. rsync is unidirectional, and only between two endpoints. One side is always overwritten by the other side.

syncthing is bidirectional, syncing changes in either direction, and supports syncing any number of clients, not just two.

Watching and syncing immediately - yes, that's what syncthing does. Why reinvent it with something worse?

Re: undefined

#54

Whenever I need to share files between two Windows computers in a LAN, I'll use this tool. It sounds kind of ridiculous, but just goes to show how crappy/difficult the Windows native file sharing is.

Localsend is excellent for all the use cases SyncThing doesn't cover well

Re: undefined

#55
post #35

Earlier quoted context omitted.

> If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene. I use a tool that does that, it's called Syncthing.

Yeah but if you’re just syncing everything to and from a server anyway, why bother with it? Plus, rsync -a never deletes files.

Because you want syncthing to delete files more often than not. When you want the reverse, it's a single property on the shared folder (ignoreDelete), feel free to set it.

Re: undefined

#56
post #18

I found that it struggled with larger data sets. I have a directory that is 70TB and about 300,000+ files and unfortunately, it just can't handle that. Resilio (formerly BitTorrent Sync) handles it nicely and they just opened up to allow home users better access to it.

I find Resilio to want to fall back to relaying, even though ports are open and if I restart I get a direct connection immediately.

Would be nice if I could tell it to never use relay servers.

Re: undefined

#57
I've had to stop using Syncthing as my primary means of file syncing due to either Android 14's scoped storage or the way this OEM implemented it. At least it still works on my backup Android 10 device.

Re: undefined

#58
post #57

I've had to stop using Syncthing as my primary means of file syncing due to either Android 14's scoped storage or the way this OEM implemented it. At least it still works on my backup Android 10 device.

If you use the android app you got to do it via the app ui instead of the web ui, the app ui will ask for permissions to a folder if you select it.

Re: undefined

#59
post #27

Earlier quoted context omitted.

I had similar issues years ago and it was frustrating. What I do now is have syncthing on a 'server' that is always on and everything syncs to the server and not between each device. That reduced my conflicts by 99%. Another issue I had was accidentally deleting a folder and having it deleted off of all my devices. To solve that issue I have my server do ZFS snapshots on my syncthing folder, which makes for easy reco…

Why not just use rsync -a periodically over an encrypted ssh connection? It works across Mac/Linux etc. and is just as efficient, no? If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene.

That isn't going to handle possibly conflicting changes from more than one source.

Re: undefined

#60
post #58
post #57

I've had to stop using Syncthing as my primary means of file syncing due to either Android 14's scoped storage or the way this OEM implemented it. At least it still works on my backup Android 10 device.

If you use the android app you got to do it via the app ui instead of the web ui, the app ui will ask for permissions to a folder if you select it.

I've tried both methods.
Post reply on HN