#112 compose-partial-copy allow for running rsync with --dry-run
Opened by bstinson. Modified

When compose-partial-copy is executed with -n/--dry-run it prints out the rsync command that it will run, which is very handy.

I'd also like the option to run the rsync itself with the rsync --dry-run flag so that I can see what is outbound before running compose-partial-copy for real


You can do that!

From man page:

       -n, --dry-run
              Only print rsync commands, do not copy anything.
              You can append -- --dry-run at the end of command line  to  pass
              the  dry-run  option  to rsync. In that case it will actually be
              called, but just print some debugging information.

Essentially -- will stop processing further arguments and just pass them torsync.

Metadata