3 ms·
> 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'
by aniviacat 2y ago
> 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.
- EGreg 2y agoYeah but if you’re just syncing everything to and from a server anyway, why bother with it? Plus, rsync -a never deletes files.
- ta2234234242 2y agoPlus why doesn't sync thing support rsync protocols anyway? It's not like it couldn't, right?
- vetinari 2y agoBecause 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.
- zelphirkalt 2y agoIs that ignoreDelete a Syncthing setting or something on the file system?
- vetinari 2y agoSyncthing setting, per shared directory: https://docs.syncthing.net/advanced/folder-ignoredelete.html https://docs.syncthing.net/advanced/folder-ignoredelete.html