Re: How to put archive files into a different folder?
Greg Troxel <[email protected]> Wed, 21 May 2025 08:45:51 -0400
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
Benjamin Pierce <[email protected]> writes: > On Tue, May 20, 2025 at 10:32 PM 高强 <[email protected]> wrote: > >> In the Unison configuration, how can I place archive files in a different >> folder instead of the one where the .prf file is located? > I've wanted this option for years but never quite gotten around to > implementing it. Would not be hard for someone with a little OCaml > background. One small design issue that could require a bit of thinking is > that one might want to make the choice differently on client and server... I'm not sure I follow differently on client/server vs "configured per host". I see client/server as roles in a particular sync, not a long-term property of a computer. I can see two paths: - use some state directory following some standard, on the general principle that config and state (/etc and /var basically) should be separate) and just do it - make it configurable in the profile for the second, we'd really want to have default profile support, read before any named profile, and read even if no profile is in use, done first. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].