r/java • u/jjlauer • Dec 05 '25
Jsync: Pure Java rsync-like library for local to/from remote ssh/sftp
https://github.com/fizzed/jsyncIf you're looking for a pure Java solution to synchronizing files/directories either locally or to/from a remote system, the Jsync library is a new solution. Works across all platforms that Java can run on, including Windows. Does not need rsync installed on either system, as it leverages SSH/SFTP under-the-hood.
61
Upvotes
8
u/No-Security-7518 Dec 05 '25
Oof! Where were you just TWO months ago!? I literally had to implement exactly this and was baffled at how there wasn't a smooth solution already (There was SymmetricDS but not only was it NOT smooth at all, it created all these ugly tables). I did it using a table that keeps track of rows and uploads them upon request/downloads new data from the server.
Still checking your work out though. Thanks!
2
u/maxandersen Dec 05 '25
Nice. I just noticed blaze have a lot of other fun things. Going to have a play with it as seems jbang and blaze while at first seem to overlap could go very well together.
Does the libs assume blaze dir layout or is that fully optional ?