=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rsync/rsync.1,v retrieving revision 1.25 retrieving revision 1.26 diff -c -r1.25 -r1.26 *** src/usr.bin/rsync/rsync.1 2021/08/30 20:25:24 1.25 --- src/usr.bin/rsync/rsync.1 2021/10/22 11:10:34 1.26 *************** *** 1,4 **** ! .\" $OpenBSD: rsync.1,v 1.25 2021/08/30 20:25:24 job Exp $ .\" .\" Copyright (c) 2019 Kristaps Dzonsons .\" --- 1,4 ---- ! .\" $OpenBSD: rsync.1,v 1.26 2021/10/22 11:10:34 claudio Exp $ .\" .\" Copyright (c) 2019 Kristaps Dzonsons .\" *************** *** 14,20 **** .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: August 30 2021 $ .Dt OPENRSYNC 1 .Os .Sh NAME --- 14,20 ---- .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: October 22 2021 $ .Dt OPENRSYNC 1 .Os .Sh NAME *************** *** 25,30 **** --- 25,31 ---- .Op Fl aDglnoprtvx .Op Fl e Ar program .Op Fl -address Ns = Ns Ar sourceaddr + .Op Fl -compare-dest Ns = Ns Ar directory .Op Fl -del .Op Fl -exclude Ar pattern .Op Fl -exclude-from Ns = Ns Ar file *************** *** 62,67 **** --- 63,80 ---- .Ar sourceaddr as the source address for connections, which is useful on machines with multiple interfaces. + .It Fl -compare-dest Ns = Ns Ar directory + Use directory as an alternate base directory to compare files against on the + destination machine. + If file in + .Ar directory + is found and identical to the senders file the file will not be transferred. + Multiple + .Fl -compare-dest + directories may be provided. + If + .Ar directory + is a relative path, it is relative to the destination directory. .It Fl D Also transfer device and special files. Shorthand for