News for hackers. Stuff that matters.
Re:How does rsync work? by lloeki on Saturday July 02, 2022 @11:26AM (#31959825)
When trying to understand rsync and the rolling checksum I stumbled upon a small python implementation in some self-hosted corner of the web[0], which I have archived on GH[1] (not the author, but things can vanish quickly, as proved by the bzr repo which went poof[2]).

[0]: https://blog.liw.fi/posts/rsync-in-python/

[1]: https://github.com/lloeki/rsync/blob/master/rsync.py

[2]: https://code.liw.fi/obsync/bzr/trunk/

Re:How does rsync work? by mmlb on Saturday July 02, 2022 @11:43AM (#31959982)
Re:How does rsync work? by generalizations on Saturday July 02, 2022 @12:52PM (#31960582)
Re:How does rsync work? by mmlb on Monday July 04, 2022 @01:01PM (#31979258)
Ah I see now, I didn't traverse deep enough whem checking.
Re:How does rsync work? by jwilk on Saturday July 02, 2022 @12:34PM (#31960422)
I don't think you can clone that.
Re:How does rsync work? by mmlb on Monday July 04, 2022 @01:02PM (#31979275)
True, but I imagined fetching every file with wget or equivalent and then just using it locally. Doesn't work anyway because the data is not all there.