Re: How to put archive files into a different folder?
Benjamin Pierce <[email protected]> Wed, 21 May 2025 12:15:24 -0400
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <CABgF7-MZ3skjH3r_pTN2eWZvctzYYbq=Mcy1-7LiF2k9=mOb_g@mail.gmail.com> |
Sorry -- configurable per host is what I meant. And on reflection I think that's a fine choice. I don't think it's a good idea to change the current behavior by default -- too much chance of breaking somebody's setup, scripts, etc. On Wed, May 21, 2025 at 8:45 AM Greg Troxel <[email protected]> wrote: > 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].