Re: properties changed

Tõivo Leedjärv <[email protected]> Wed, 2 Apr 2025 18:49:18 +0200
Newsgroups gmane.network.unison.general
Message-ID <CAALvpZQr0mi=f74dcdFU_+xUatNuuygL+2jpPZkp5KNUhyoZxw@mail.gmail.com>
On Wed, 2 Apr 2025 at 16:32, "Head Geek (伟思礼)" <[email protected]> wrote:

> Trying to synchronize my website with a local copy, I find that zillions
> of files have differing props.
>
> How can I tell them ALL to either merge (m) or use newer (]) instead of
> having to type that key for every <censored> file?
>
> If file _content_ has changed, I don't want it to be automatic, but
> properties should not matter.


In the GUI you can select many rows (or even all) in one go.

In the TUI, the following keys may be of interest, among others (you can
get help by pressing the F1 or ? key at the prompt):
 P or =                match all the following with only props changes
 D or _                delete/pop the active matching condition

For example, at the first file, press P (or =) to match all props changes,
then key for your preferred propagation (], as you wrote) (or m for merge,
if you've set that up), then D (or _) to unselect all props changes.
Alternatively, instead of unselecting props changes, you can invert the
matching condition (press key X or !), selecting all non-props changes.
Then you can for example skip (/ or : or -) all other changes to propagate
only the props changes first and then do a separate sync for other changes.

Managing such matching conditions takes a bit of getting used to. Listing
changes (L or l) will help undestanding what's going on. But do note that
listing changes only displays changes _following_ the current file. If you
want to display all changes then first go to the beginning of the list
(press 0 or the Home key) and then list (L or l).

Hope this helps.

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