Re: Dry run?

Greg Troxel <[email protected]> Thu, 12 Mar 2026 12:27:16 -0400
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
Todd Wilson <[email protected]> writes:

> Is there a way to perform a dry-run from the command line, where Unison
> prints all the changes it would have made during a batch sync without
> actually performing them? This is similar to running the UI, reviewing the
> list, and then closing the window without hitting "Go," but I want the list
> of changes printed to stdout so that I can capture them in a file or pipe
> them to another program.

This is the default, in that it asks for confirmation before acting.

It's a fair question if there is something like "-n" in rsync, and if
not it seems reasonable to add.

I use CLI and don't use -batch (but do use -auto), so in my usage I see
the list of things to change and then type y.

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