mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
2850 lines
79 KiB
JSON
2850 lines
79 KiB
JSON
{
|
|
"_format": "scaffold_schema",
|
|
"_coverage": "full",
|
|
"tool": "rsync",
|
|
"binary": "rsync",
|
|
"description": "Fast, versatile file-copying tool using delta-transfer for local and remote sync.",
|
|
"elevated": "optional",
|
|
"subcommands": null,
|
|
"arguments": [
|
|
{
|
|
"name": "Archive Mode",
|
|
"flag": "--archive",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Archive mode: equals -rlptgoD. Preserves recursion, symlinks, permissions, times, group, owner, and device files.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Basic",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Dry Run",
|
|
"flag": "--dry-run",
|
|
"short_flag": "-n",
|
|
"type": "boolean",
|
|
"description": "Perform a trial run making no changes. Shows what would have been transferred.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Basic",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Verbose",
|
|
"flag": "--verbose",
|
|
"short_flag": "-v",
|
|
"type": "boolean",
|
|
"description": "Increase verbosity. Can be repeated (e.g. -vv) for more detail.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Basic",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": "-q",
|
|
"type": "boolean",
|
|
"description": "Suppress non-error messages. Useful when invoking rsync from cron.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Basic",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Suppress MOTD",
|
|
"flag": "--no-motd",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Suppress message-of-the-day output from daemon at start of transfer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Basic",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Human Readable",
|
|
"flag": "--human-readable",
|
|
"short_flag": "-h",
|
|
"type": "boolean",
|
|
"description": "Output numbers in a human-readable format (e.g. 1.23K, 4.56M).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Basic",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Recursive",
|
|
"flag": "--recursive",
|
|
"short_flag": "-r",
|
|
"type": "boolean",
|
|
"description": "Recurse into directories. Implied by --archive.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Recursion & Directories",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Relative Paths",
|
|
"flag": "--relative",
|
|
"short_flag": "-R",
|
|
"type": "boolean",
|
|
"description": "Use relative path names, sending the full path to the server rather than just the last component.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Recursion & Directories",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Implied Dirs",
|
|
"flag": "--no-implied-dirs",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "With --relative, do not include attributes of implied directories from source names in the transfer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--relative",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Recursion & Directories",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Dirs (No Recurse)",
|
|
"flag": "--dirs",
|
|
"short_flag": "-d",
|
|
"type": "boolean",
|
|
"description": "Transfer directories without recursing into their contents.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Recursion & Directories",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Prune Empty Dirs",
|
|
"flag": "--prune-empty-dirs",
|
|
"short_flag": "-m",
|
|
"type": "boolean",
|
|
"description": "Prune empty directory chains from the file-list.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Recursion & Directories",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Copy Symlinks",
|
|
"flag": "--links",
|
|
"short_flag": "-l",
|
|
"type": "boolean",
|
|
"description": "When symlinks are encountered, recreate the symlink on the destination.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Symlinks",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Dereference Symlinks",
|
|
"flag": "--copy-links",
|
|
"short_flag": "-L",
|
|
"type": "boolean",
|
|
"description": "Copy the referent (target) of symlinks rather than the symlink itself.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Symlinks",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Copy Unsafe Symlinks",
|
|
"flag": "--copy-unsafe-links",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Copy referents of symlinks that point outside the source tree.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Symlinks",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Safe Symlinks",
|
|
"flag": "--safe-links",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Ignore symlinks that point outside the destination tree.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Symlinks",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Munge Symlinks",
|
|
"flag": "--munge-links",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Munge symlinks on the receiving side to make them unusable but recoverable (security feature).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Symlinks",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Copy Dir Symlinks (Sender)",
|
|
"flag": "--copy-dirlinks",
|
|
"short_flag": "-k",
|
|
"type": "boolean",
|
|
"description": "Treat symlinks to directories on the sending side as real directories.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Symlinks",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Keep Dir Symlinks (Receiver)",
|
|
"flag": "--keep-dirlinks",
|
|
"short_flag": "-K",
|
|
"type": "boolean",
|
|
"description": "Treat symlinks to directories on the receiving side as real directories if they match a real directory from the sender.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Symlinks",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve Hard Links",
|
|
"flag": "--hard-links",
|
|
"short_flag": "-H",
|
|
"type": "boolean",
|
|
"description": "Recreate hard links on the destination to match the source.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Symlinks",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve Permissions",
|
|
"flag": "--perms",
|
|
"short_flag": "-p",
|
|
"type": "boolean",
|
|
"description": "Preserve source file permissions on the destination.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve Executability",
|
|
"flag": "--executability",
|
|
"short_flag": "-E",
|
|
"type": "boolean",
|
|
"description": "Preserve executability of regular files when --perms is not enabled.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve ACLs",
|
|
"flag": "--acls",
|
|
"short_flag": "-A",
|
|
"type": "boolean",
|
|
"description": "Update destination ACLs to match source. Implies --perms.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve Extended Attributes",
|
|
"flag": "--xattrs",
|
|
"short_flag": "-X",
|
|
"type": "boolean",
|
|
"description": "Update destination extended attributes (xattrs) to match source.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Chmod",
|
|
"flag": "--chmod",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Apply chmod mode(s) to permissions of transferred files. Prefix D for dirs-only, F for files-only.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["ug+rw,o-rwx", "Dg+s,ug+w,Fo-w,+X", "D2775,F664"],
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve Owner",
|
|
"flag": "--owner",
|
|
"short_flag": "-o",
|
|
"type": "boolean",
|
|
"description": "Preserve owner of destination file. Only effective when run as super-user.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve Group",
|
|
"flag": "--group",
|
|
"short_flag": "-g",
|
|
"type": "boolean",
|
|
"description": "Preserve group of destination file.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve Devices",
|
|
"flag": "--devices",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Preserve character and block device files. Requires super-user on receiver.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve Specials",
|
|
"flag": "--specials",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Preserve special files such as named sockets and fifos.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preserve Times",
|
|
"flag": "--times",
|
|
"short_flag": "-t",
|
|
"type": "boolean",
|
|
"description": "Preserve modification times. Without this, all files will be re-examined on the next transfer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Omit Dir Times",
|
|
"flag": "--omit-dir-times",
|
|
"short_flag": "-O",
|
|
"type": "boolean",
|
|
"description": "Omit directories when preserving modification times. Useful with NFS on the receiving side.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Omit Symlink Times",
|
|
"flag": "--omit-link-times",
|
|
"short_flag": "-J",
|
|
"type": "boolean",
|
|
"description": "Omit symlinks when preserving modification times.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Super",
|
|
"flag": "--super",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Tell the receiving side to attempt super-user activities (owner, group, devices) even if not running as super-user.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Fake Super",
|
|
"flag": "--fake-super",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Simulate super-user by saving privileged attributes (owner, group, device info, permissions) via extended attributes.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Numeric IDs",
|
|
"flag": "--numeric-ids",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Transfer numeric UID/GID values rather than mapping by user/group name.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "User Map",
|
|
"flag": "--usermap",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Custom username mapping for transferred files (e.g. user1:user2,user3:user4).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["root:nobody", "user1:user2"],
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Group Map",
|
|
"flag": "--groupmap",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Custom groupname mapping for transferred files (e.g. group1:group2).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["staff:users", "wheel:sudo"],
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Chown",
|
|
"flag": "--chown",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Simple username:groupname mapping applied to all transferred files.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": "^[^:]+:[^:]+$",
|
|
"examples": ["user:group", "nobody:nogroup"],
|
|
"display_group": "File Attributes",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Checksum",
|
|
"flag": "--checksum",
|
|
"short_flag": "-c",
|
|
"type": "boolean",
|
|
"description": "Skip files based on checksum rather than mod-time and size. Slower but more accurate.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Ignore Times",
|
|
"flag": "--ignore-times",
|
|
"short_flag": "-I",
|
|
"type": "boolean",
|
|
"description": "Disable the quick-check behavior — do not skip files that match size and timestamp.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Size Only",
|
|
"flag": "--size-only",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Skip files that match in size, ignoring timestamps. Useful after migrating from non-timestamp-preserving mirrors.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Modify Window",
|
|
"flag": "--modify-window",
|
|
"short_flag": "-@",
|
|
"type": "integer",
|
|
"description": "Set timestamp comparison window in seconds (default 0). Use 1 for FAT filesystems. Negative values enable nanosecond comparison (requires rsync 3.1.3+).",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Checksum Choice",
|
|
"flag": "--checksum-choice",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Override the checksum algorithm(s). Accepts one or two comma-separated names: auto, md4, md5, none. Requires rsync 3.x.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["md5", "md5,md4", "none", "auto"],
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Whole File",
|
|
"flag": "--whole-file",
|
|
"short_flag": "-W",
|
|
"type": "boolean",
|
|
"description": "Disable delta-transfer algorithm — send whole files. Default for local copies.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "whole_file",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Whole File",
|
|
"flag": "--no-whole-file",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Turn off --whole-file, enabling delta-transfer. Use to override the local-copy default.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "whole_file",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "One Filesystem",
|
|
"flag": "--one-file-system",
|
|
"short_flag": "-x",
|
|
"type": "boolean",
|
|
"description": "Avoid crossing filesystem boundaries when recursing.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "In-Place Updates",
|
|
"flag": "--inplace",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Write updated file data directly to the destination file instead of creating a new copy. WARNING: file is in an inconsistent state during transfer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Append Data",
|
|
"flag": "--append",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Update files by appending data to the end. Presumes existing destination data is identical to the start of the source file. Implies --inplace. DANGEROUS: only use if you are certain files grow only by appending.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "append_mode",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Append With Verify",
|
|
"flag": "--append-verify",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Like --append but includes existing destination data in the full-file checksum verification step.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "append_mode",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Sparse Files",
|
|
"flag": "--sparse",
|
|
"short_flag": "-S",
|
|
"type": "boolean",
|
|
"description": "Handle sparse files efficiently so they take up less space on the destination.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Preallocate",
|
|
"flag": "--preallocate",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Preallocate each destination file to its eventual size before writing. Uses fallocate(2) on Linux.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Update (Skip Newer)",
|
|
"flag": "--update",
|
|
"short_flag": "-u",
|
|
"type": "boolean",
|
|
"description": "Skip destination files that are newer than the source.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Existing Only",
|
|
"flag": "--existing",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Skip creating files that do not yet exist on the destination (alias: --ignore-non-existing).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Ignore Existing",
|
|
"flag": "--ignore-existing",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Skip updating files that already exist on the destination.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Remove Source Files",
|
|
"flag": "--remove-source-files",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Remove non-directory source files after successful transfer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Delay Updates",
|
|
"flag": "--delay-updates",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Place all updated files into a holding directory and then rename them into place atomically at the end of the transfer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Fuzzy Basis",
|
|
"flag": "--fuzzy",
|
|
"short_flag": "-y",
|
|
"type": "boolean",
|
|
"description": "Look for a similar file on the destination to use as a basis when no exact match exists, saving bandwidth.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Protect Args",
|
|
"flag": "--protect-args",
|
|
"short_flag": "-s",
|
|
"type": "boolean",
|
|
"description": "Protect filenames containing spaces or special characters from shell interpretation on the remote side.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Block Size",
|
|
"flag": "--block-size",
|
|
"short_flag": "-B",
|
|
"type": "integer",
|
|
"description": "Override the block size used in rsync's delta-transfer algorithm.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Transfer Behavior",
|
|
"min": 1,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Filter Rule",
|
|
"flag": "--filter",
|
|
"short_flag": "-f",
|
|
"type": "string",
|
|
"description": "Add a file-filtering rule. Rules are applied in order; use +/- prefixes for include/exclude.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["- .git/", "+ *.c", "- *", "merge /etc/rsync-filter"],
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "CVS Exclude",
|
|
"flag": "--cvs-exclude",
|
|
"short_flag": "-C",
|
|
"type": "boolean",
|
|
"description": "Auto-ignore files CVS would ignore: *.o, *.bak, .git/, .svn/, core, etc.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Exclude Pattern",
|
|
"flag": "--exclude",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Exclude files matching PATTERN from the transfer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["*.tmp", ".git/", "*.log", "/build/"],
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Exclude From File",
|
|
"flag": "--exclude-from",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read exclude patterns from FILE, one per line.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Include Pattern",
|
|
"flag": "--include",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Do not exclude files matching PATTERN. Used with --exclude to build complex rules.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["*.c", "*/", "Makefile"],
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Include From File",
|
|
"flag": "--include-from",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read include patterns from FILE, one per line.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Files From",
|
|
"flag": "--files-from",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read list of source filenames to transfer from FILE.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Null-Delimited Lists",
|
|
"flag": "--from0",
|
|
"short_flag": "-0",
|
|
"type": "boolean",
|
|
"description": "All filenames from --files-from, --exclude-from, and --include-from are delimited by null characters instead of newlines.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Max File Size",
|
|
"flag": "--max-size",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Skip transferring files larger than SIZE. Accepts suffixes: K, M, G (1024-based) or KB, MB, GB (1000-based).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["100M", "1G", "2.5M", "500K"],
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Min File Size",
|
|
"flag": "--min-size",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Skip transferring files smaller than SIZE. Accepts same suffixes as --max-size.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["1K", "10M", "1"],
|
|
"display_group": "Filters & Exclusions",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Delete Extraneous",
|
|
"flag": "--delete",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Delete files on the receiver that do not exist on the sender. Run with --dry-run first to preview deletions.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Delete Before Transfer",
|
|
"flag": "--delete-before",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Perform deletions on receiver before transfer starts. Implies --delete.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "delete_when",
|
|
"depends_on": "--delete",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Delete During Transfer",
|
|
"flag": "--delete-during",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Delete on receiver incrementally as the transfer happens (default for rsync 3.0+). Alias: --del. Implies --delete.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "delete_when",
|
|
"depends_on": "--delete",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Delete Delay",
|
|
"flag": "--delete-delay",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Compute deletions during transfer but execute them after the transfer completes. Implies --delete.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "delete_when",
|
|
"depends_on": "--delete",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Delete After Transfer",
|
|
"flag": "--delete-after",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Perform deletions on receiver after transfer completes. Useful when sending new per-directory merge files. Implies --delete.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "delete_when",
|
|
"depends_on": "--delete",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Delete Excluded",
|
|
"flag": "--delete-excluded",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Also delete files on the receiver that match exclude patterns.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--delete",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Ignore Missing Args",
|
|
"flag": "--ignore-missing-args",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Suppress errors for explicitly requested source files that cannot be found.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Delete Missing Args",
|
|
"flag": "--delete-missing-args",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Delete corresponding destination files for source args that cannot be found. Implies --ignore-missing-args.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Ignore IO Errors",
|
|
"flag": "--ignore-errors",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Proceed with deletions even when IO errors are encountered on the sending side.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--delete",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Force Directory Deletion",
|
|
"flag": "--force",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Allow deletion of non-empty directories when they are to be replaced by non-directories.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
},
|
|
{
|
|
"name": "Max Delete",
|
|
"flag": "--max-delete",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Do not delete more than NUM files or directories. Use 0 to warn without deleting.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--delete",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Deletion",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Backup",
|
|
"flag": "--backup",
|
|
"short_flag": "-b",
|
|
"type": "boolean",
|
|
"description": "Rename pre-existing destination files with a suffix before overwriting (default suffix: ~).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Backup",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Backup Directory",
|
|
"flag": "--backup-dir",
|
|
"short_flag": null,
|
|
"type": "directory",
|
|
"description": "Store all backup files in DIR instead of alongside the original. Use absolute paths or paths starting with '../'.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--backup",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Backup",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Backup Suffix",
|
|
"flag": "--suffix",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Override the default backup suffix (default: ~ when no --backup-dir, empty string otherwise).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--backup",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [".bak", ".orig", "~"],
|
|
"display_group": "Backup",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Temp Directory",
|
|
"flag": "--temp-dir",
|
|
"short_flag": "-T",
|
|
"type": "directory",
|
|
"description": "Use DIR as a scratch directory when creating temporary copies of transferred files on the receiving side.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Comparison & Link-Dest",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Compare Dest",
|
|
"flag": "--compare-dest",
|
|
"short_flag": null,
|
|
"type": "directory",
|
|
"description": "Use DIR on the destination as an additional reference directory for comparisons. Files unchanged relative to DIR are not transferred.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "dest_option",
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Comparison & Link-Dest",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Copy Dest",
|
|
"flag": "--copy-dest",
|
|
"short_flag": null,
|
|
"type": "directory",
|
|
"description": "Like --compare-dest but also copies unchanged files from DIR using local hard-links.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "dest_option",
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Comparison & Link-Dest",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Link Dest",
|
|
"flag": "--link-dest",
|
|
"short_flag": null,
|
|
"type": "directory",
|
|
"description": "Hard-link unchanged files from DIR into the destination rather than transferring them. Enables space-efficient incremental backups.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "dest_option",
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Comparison & Link-Dest",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Keep Partial Files",
|
|
"flag": "--partial",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Keep partially transferred files on the receiver if the transfer is interrupted (speeds up subsequent retries).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Partial & Progress",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Partial Dir",
|
|
"flag": "--partial-dir",
|
|
"short_flag": null,
|
|
"type": "directory",
|
|
"description": "Store partially transferred files in DIR instead of in the destination directory.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--partial",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [".rsync-partial"],
|
|
"display_group": "Partial & Progress",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Progress",
|
|
"flag": "--progress",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show per-file progress during transfer (speed, percentage, estimated time remaining).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Partial & Progress",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Statistics",
|
|
"flag": "--stats",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Print a verbose set of transfer statistics at the end.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Partial & Progress",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Remote Shell",
|
|
"flag": "--rsh",
|
|
"short_flag": "-e",
|
|
"type": "string",
|
|
"description": "Specify the remote shell command (default: ssh). Accepts arguments, e.g. 'ssh -p 2222'.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["ssh", "ssh -p 2222", "ssh -i ~/.ssh/id_rsa", "rsh"],
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Remote rsync Path",
|
|
"flag": "--rsync-path",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Path to the rsync executable on the remote machine.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["/usr/local/bin/rsync", "/opt/bin/rsync"],
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Remote Option",
|
|
"flag": "--remote-option",
|
|
"short_flag": "-M",
|
|
"type": "string",
|
|
"description": "Send OPTION to the remote rsync only. Useful to limit effects to one side of the transfer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["--fake-super", "--log-file=/tmp/rsync.log"],
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Compress",
|
|
"flag": "--compress",
|
|
"short_flag": "-z",
|
|
"type": "boolean",
|
|
"description": "Compress file data during transfer. Useful on slow links.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Compress Level",
|
|
"flag": "--compress-level",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Explicitly set the compression level (0 = disable, higher = more compression). Requires rsync 3.x.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--compress",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": 0,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Skip Compress",
|
|
"flag": "--skip-compress",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Comma-separated list of file suffixes that should not be compressed (already compressed formats). Requires rsync 3.x.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--compress",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["gz,bz2,xz,zip,jpg,mp4", "gz,bz2"],
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Bandwidth Limit",
|
|
"flag": "--bwlimit",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Limit I/O bandwidth. Accepts a value in KiB/s or with suffixes (K, M, G). Use 0 for no limit.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["1000", "5M", "500K"],
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Port",
|
|
"flag": "--port",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Specify alternate TCP port for daemon connections (default: 873). Only for double-colon (::) syntax.",
|
|
"required": false,
|
|
"default": 873,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": 1,
|
|
"max": 65535,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Bind Address",
|
|
"flag": "--address",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Bind to the specified IP address or hostname for outgoing connections.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Socket Options",
|
|
"flag": "--sockopts",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Specify custom TCP socket options for direct daemon connections. See setsockopt(2) for available options.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Blocking I/O",
|
|
"flag": "--blocking-io",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Use blocking I/O when launching a remote shell transport. May be needed for some remote shells.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "blocking_io",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Blocking I/O",
|
|
"flag": "--no-blocking-io",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Turn off --blocking-io when it is the default.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "blocking_io",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "I/O Timeout",
|
|
"flag": "--timeout",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Set maximum I/O timeout in seconds. rsync exits if no data is transferred within this window. Default 0 (no timeout).",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": 0,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Connection Timeout",
|
|
"flag": "--contimeout",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Set timeout in seconds for the initial connection to an rsync daemon.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": 0,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Prefer IPv4",
|
|
"flag": "--ipv4",
|
|
"short_flag": "-4",
|
|
"type": "boolean",
|
|
"description": "Prefer IPv4 when creating sockets.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "ip_version",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Prefer IPv6",
|
|
"flag": "--ipv6",
|
|
"short_flag": "-6",
|
|
"type": "boolean",
|
|
"description": "Prefer IPv6 when creating sockets.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "ip_version",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network & Remote",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Itemize Changes",
|
|
"flag": "--itemize-changes",
|
|
"short_flag": "-i",
|
|
"type": "boolean",
|
|
"description": "Output a change-summary string for every updated file (11-character code indicating what changed).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Output Format",
|
|
"flag": "--out-format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Control per-file output format during transfer. Uses printf-like format codes (e.g. %n = filename, %l = length).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["%n%L", "%i %n%L", "%t %f %b"],
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Log Format",
|
|
"flag": "--log-format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Older alias for --out-format. Specify per-file log format.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["%n%L"],
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": "Deprecated alias for --out-format. Use --out-format instead.",
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Log File",
|
|
"flag": "--log-file",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Write transfer log to FILE. Each line records a transferred file.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Log File Format",
|
|
"flag": "--log-file-format",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Specify the format of entries written to --log-file. Uses same format codes as --out-format.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--log-file",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["%t %f %b", "%i %n%L"],
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "List Only",
|
|
"flag": "--list-only",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "List files without transferring them. Equivalent to omitting the destination.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "8-Bit Output",
|
|
"flag": "--8-bit-output",
|
|
"short_flag": "-8",
|
|
"type": "boolean",
|
|
"description": "Leave high-bit characters unescaped in output rather than showing them as backslash-escaped sequences.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Info Flags",
|
|
"flag": "--info",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Fine-grained control over informational output. Use --info=help to see flag names. Added in rsync 3.1.0.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["progress2", "stats2,misc1,flist0", "name0,remove"],
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Debug Flags",
|
|
"flag": "--debug",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Fine-grained control over debug output. Use --debug=help to see flag names. Added in rsync 3.1.0.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["none", "del2,acl", "all"],
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Messages to stderr",
|
|
"flag": "--msgs2stderr",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Send all rsync output directly to STDERR rather than through the protocol. Mainly for debugging.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Charset Conversion",
|
|
"flag": "--iconv",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Request charset conversion of filenames. Format: FROM,TO (e.g. UTF-8,LATIN-1).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["UTF-8,LATIN-1", "UTF-8,UTF-8-MAC"],
|
|
"display_group": "Output & Logging",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Write Batch",
|
|
"flag": "--write-batch",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Write a batch update to FILE. The batch can later be replayed on identical systems using --read-batch.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "batch_mode",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Batch Mode",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Write Batch Only",
|
|
"flag": "--only-write-batch",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Like --write-batch but do not perform the actual transfer — only write the batch file.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "batch_mode",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Batch Mode",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Read Batch",
|
|
"flag": "--read-batch",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Apply a previously generated batch update from FILE.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "batch_mode",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Batch Mode",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Checksum Seed",
|
|
"flag": "--checksum-seed",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Set an explicit block/file checksum seed. Mainly for batch mode reproducibility.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Batch Mode",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Daemon Mode",
|
|
"flag": "--daemon",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Run rsync as a daemon accepting connections via TCP (port 873) or via remote shell.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Daemon Mode",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "No Detach",
|
|
"flag": "--no-detach",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Do not detach from the parent process when running as a daemon. Required for Cygwin services and useful under daemontools.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--daemon",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Daemon Mode",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Config File",
|
|
"flag": "--config",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Specify an alternate rsyncd.conf configuration file (default: /etc/rsyncd.conf). Only relevant with --daemon.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--daemon",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Daemon Mode",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Password File",
|
|
"flag": "--password-file",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read daemon authentication password from FILE. File must not be world-readable.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Daemon Mode",
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Help",
|
|
"flag": "--help",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Print a short help page describing available options and exit.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Version",
|
|
"flag": "--version",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Print the rsync version number and exit.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Source",
|
|
"flag": "SRC",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Source path. Use [USER@]HOST:PATH for remote shell, [USER@]HOST::MODULE/PATH or rsync://[USER@]HOST/MODULE/PATH for daemon.",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": ["/local/path/", "user@host:/remote/path/", "host::module/path", "rsync://host/module/"],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Destination",
|
|
"flag": "DEST",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Destination path. Use [USER@]HOST:PATH for remote shell, [USER@]HOST::MODULE/PATH for daemon.",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": ["/local/dest/", "user@host:/remote/dest/", "host::module/dest"],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
}
|