Re: Can unison better help with renamed hosts?
"Dale R. Worley" <[email protected]> Tue, 23 Apr 2024 14:47:10 -0400
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
Greg Troxel <[email protected]> writes: > Sure there's a clean way! Write a program that takes the 4 args, and > finds and reads ar and fp, computes the new names, and writes those > files, and then after fsyncing them, removes the old ones. But indeed, > there's no easily doable way... I'm good with that, but as far as I know, how the ar* names are calculated from the sync roots is not documented. One could start a dummy sync between the new roots, then abort it, and look at the names of file debris left behind ... But To Do It Right, either there needs to be code in the distribution that does this operation, or the documentation needs to commit to an algorithm for generating the file names. Dale To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].