bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

249
active users

#rsync

4 posts4 participants0 posts today
jbz<p>🍏 rsync replaced with openrsync on macOS Sequoia </p><p>「 Without going in-depth into the background legal issues, the reason for not providing rsync 3.x is that Apple decided that while it could comply with the terms of GPLv2 license with regards to rsync 2.x, it could not comply with the terms of GPLv3 license with regards to rsync 3.x 」</p><p><a href="https://derflounder.wordpress.com/2025/04/06/rsync-replaced-with-openrsync-on-macos-sequoia/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">derflounder.wordpress.com/2025</span><span class="invisible">/04/06/rsync-replaced-with-openrsync-on-macos-sequoia/</span></a></p><p><a href="https://indieweb.social/tags/rsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rsync</span></a> <a href="https://indieweb.social/tags/macos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macos</span></a> <a href="https://indieweb.social/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a></p>
r1w1s1I didn’t know about openrsync until recently — been using rsync for years and somehow missed it!<br><br>openrsync is a lightweight rsync replacement developed by the OpenBSD team.<br>It focuses on security, simplicity, and a small footprint.<br><br>While not yet feature-complete compared to GNU rsync, it supports common<br>use cases like recursive copying, preserving permissions, and syncing over SSH.<br><br>Originally introduced in OpenBSD 6.5 (May 2019)<br>Authored by Kristaps Dzonsons<br>🔗 <a href="https://www.openrsync.org/manual.html" rel="nofollow noopener noreferrer" target="_blank">https://www.openrsync.org/manual.html</a><br><br>Thinking about writing a SlackBuild for it — I’ll give it a proper test first. 🙂<br><br><a href="https://snac.bsd.cafe?t=openbsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#openbsd</a> <a href="https://snac.bsd.cafe?t=openrsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#openrsync</a> <a href="https://snac.bsd.cafe?t=slackbuild" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#slackbuild</a> <a href="https://snac.bsd.cafe?t=rsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#rsync</a><br>
Peter N. M. Hansteen<p>rsync replaced with openrsync on macOS Sequoia <a href="https://www.undeadly.org/cgi?action=article;sid=20250408062403" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">undeadly.org/cgi?action=articl</span><span class="invisible">e;sid=20250408062403</span></a> <a href="https://mastodon.social/tags/openbsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openbsd</span></a> <a href="https://mastodon.social/tags/openrsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openrsync</span></a> <a href="https://mastodon.social/tags/rsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rsync</span></a> <a href="https://mastodon.social/tags/macos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macos</span></a> <a href="https://mastodon.social/tags/apple" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>apple</span></a> <a href="https://mastodon.social/tags/freesoftware" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>freesoftware</span></a> <a href="https://mastodon.social/tags/libresoftware" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libresoftware</span></a></p>

'"Apple decided that while it could comply with the terms of GPLv2 license with regards to #rsync 2.x, it could not comply with the terms of GPLv3 license with regards to rsync 3.x. […] Now with macOS Sequoia, Apple has replaced rsync 2.6.9 with openrsync, which is […] licensed under the BSD family of licenses, […]"

derflounder.wordpress.com/2025

Der Flounder · rsync replaced with openrsync on macOS SequoiaOn many Unix-based operating systems, rsync is a command line tool for transferring and synchronizing files on a computer, either between storage attached directly to the computer or between anothe…

I forgot you can't just run a shell script with rsync calls via cron on macOS because of... security. I think my workaround will do though.

I write a shell script and then create an Automator application that calls the shell script. I then add a cron job to open the application.

I need to check if it runs when the screen is locked. I'm pretty sure it does but I will test again.

#rsync#cron#macOS

Did you know? My github.com/gokrazy/rsync module can be used as a library — both its client and its server accept the io.ReadWriter interface type :)

To demonstrate that this works and to show the flexibility this enables, I put together an rsync-over-gRPC demo:

github.com/stapelberg/rsync-ov

To be clear, this isn’t starting the samba rsync program in the background or anything like that; it’s a 100% Go implementation; memory-safe and fast! Standalone and cross-architecture! 🚀

The rsync manpage claims there are two different ways to use rsync, and then explains that there are two exceptions.

After studying the code, I think it’s clearer to think about 4 ways to use rsync, as I try to show in this diagram.