Skip to content

Commit c67d193

Browse files
steadytaotridge
authored andcommitted
docs: fix option summary inconsistencies
1 parent 1d6770e commit c67d193

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

rsync.1.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,9 @@ has its own detailed description later in this manpage.
425425
--archive, -a archive mode is -rlptgoD (no -A,-X,-U,-N,-H)
426426
--no-OPTION turn off an implied OPTION (e.g. --no-D)
427427
--recursive, -r recurse into directories
428+
--inc-recursive, --i-r enable incremental recursion
429+
--no-inc-recursive disable incremental recursion
430+
--no-i-r same as --no-inc-recursive
428431
--relative, -R use relative path names
429432
--no-implied-dirs don't send implied dirs with --relative
430433
--backup, -b make backups (see --suffix & --backup-dir)
@@ -435,7 +438,8 @@ has its own detailed description later in this manpage.
435438
--append append data onto shorter files
436439
--append-verify --append w/old data in file checksum
437440
--dirs, -d transfer directories without recursing
438-
--old-dirs, --old-d works like --dirs when talking to old rsync
441+
--old-dirs works like --dirs when talking to old rsync
442+
--old-d same as --old-dirs
439443
--mkpath create destination's missing path components
440444
--links, -l copy symlinks as symlinks
441445
--copy-links, -L transform symlink into referent file/dir
@@ -469,12 +473,14 @@ has its own detailed description later in this manpage.
469473
--preallocate allocate dest files before writing them
470474
--dry-run, -n perform a trial run with no changes made
471475
--whole-file, -W copy files whole (w/o delta-xfer algorithm)
476+
--no-whole-file, --no-W use the delta-xfer algorithm
472477
--checksum-choice=STR choose the checksum algorithm (aka --cc)
473478
--one-file-system, -x don't cross filesystem boundaries
474479
--block-size=SIZE, -B force a fixed checksum block-size
475480
--rsh=COMMAND, -e specify the remote shell to use
476481
--rsync-path=PROGRAM specify the rsync to run on remote machine
477482
--existing skip creating new files on receiver
483+
--ignore-non-existing skip creating new files on receiver
478484
--ignore-existing skip updating files that exist on receiver
479485
--remove-source-files sender removes synchronized files (non-dir)
480486
--del an alias for --delete-during
@@ -868,7 +874,7 @@ expand it.
868874

869875
0. `--inc-recursive`, `--i-r`
870876

871-
This option explicitly enables on incremental recursion when scanning for
877+
This option explicitly enables incremental recursion when scanning for
872878
files, which is enabled by default when using the [`--recursive`](#opt)
873879
option and both sides of the transfer are running rsync 3.0.0 or newer.
874880

@@ -1144,9 +1150,13 @@ expand it.
11441150
seen in the listing). Specify `--no-dirs` (or `--no-d`) if you want to
11451151
turn this off.
11461152

1147-
There is also a backward-compatibility helper option, `--old-dirs`
1148-
(`--old-d`) that tells rsync to use a hack of `-r --exclude='/*/*'` to get
1149-
an older rsync to list a single directory without recursing.
1153+
See also the backward-compatibility helper option [`--old-dirs`](#opt).
1154+
1155+
0. `--old-dirs`, `--old-d`
1156+
1157+
This backward-compatibility helper tells rsync to use a hack of
1158+
`-r --exclude='/*/*'` to get an older rsync to list a single directory
1159+
without recursing.
11501160

11511161
0. `--mkpath`
11521162

0 commit comments

Comments
 (0)