git-annex-multicast(1) | General Commands Manual | git-annex-multicast(1) |
git-annex-multicast - multicast file distribution
git annex multicast [options]
Multicast allows files to be broadcast to multiple receivers, typically on a single local network.
The uftp program is used for multicast. <http://uftp-multicast.sourceforge.net/>
Suppose a teacher wants to multicast files to students in a classroom.
This assumes that the teacher and students have cloned a git-annex repository, and both can push changes to its git-annex branch, or otherwise push changes to each-other.
First, the teacher runs git annex multicast --gen-address; git annex sync
Next, students each run git annex multicast --gen-address; git annex sync
Once all the students have generated addresses, the teacher runs git annex sync once more. (Now the students all have received the teacher's address, and the teacher has received all the student's addresses.)
Next students each run git annex multicast --receive
Finally, once the students are all listening (ahem), teacher runs git annex multicast --send
Joey Hess <id@joeyh.name>