Re: How to put archive files into a different folder?

"Head Geek (伟思礼)" <[email protected]> Wed, 21 May 2025 12:26:40 -0700
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
On May 21, 2025, at 09:15, Benjamin Pierce <[email protected]> wrote:
> Sorry -- configurable per host is what I meant.  And on reflection I think that's a fine choice.

Are you saying you run unison on one machine to sync more than one remote?

If that's what you mean, what if … you have a separate profile for each.  Then the name of the profile is a command line parameter for unsion.  Example:

user@local % .unison % head host*          
==> host-one.prf <==
# Unison sync for host-one
root = /Path/To/My/Stuff
root = ssh://host-one.net@user-one//the/first/path

logfile = host-one.log

…unique stuff…

include default

==> host-two.prf <==
# Unison sync for host-two
root = /Path/To/My/Stuff
root = ssh://host-two.com@user-two//some/other/path

logfile = host-two.log

…unique stuff…

include default
user@local % unison host-one

Error: Profile "host-one" (file "~/.unison/host-one.prf"), line 7:
Garbled line (no '='): …unique stuff…



-- W. Wesley Groleau (伟思礼)
“Looking at life from a different perspective makes you realize that it's not the deer that is crossing the road, rather it's the road that is crossing the forest.”
      — Muhammad Ali

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].