Re: Dry run?
Lluc Pallejà <[email protected]> Thu, 12 Mar 2026 17:40:00 +0100
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
I do that same as Greg. On 3/12/26 17:27, Greg Troxel wrote: > Todd Wilson <[email protected]> writes: >=20 >> 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 t= he >> list, and then closing the window without hitting "Go," but I want the l= ist >> of changes printed to stdout so that I can capture them in a file or pip= e >> them to another program. >=20 > This is the default, in that it asks for confirmation before acting. >=20 > It's a fair question if there is something like "-n" in rsync, and if > not it seems reasonable to add. >=20 > 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. >=20 > To unsubscribe from this group and stop receiving emails from it, send an= email to [email protected]. >=20 --=20 Lluc Pallej=C3=A0 To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected].