rsync

Source(s)


Destination


# General

CommandInputDescription
Archive & PreserveAlias: -rlptgoD. Shortcut for recursion & preserving everything except ACLs, xattrs, atimes, crtimes, & hard links. More Info
Super UserThe Receiver attempts super-user activities. Activities includes preserving users, preserving all groups, and copying devices. More Info
StatsPrint file transfer statistics. More Info
Show ProgressPrint information showing the progress of the transfer. More Info

# Copying

CommandInputDescription
Include DirectoriesTell the sending side to include any directories that are encountered. More Info
Include SymlinksWhen symlinks are encountered, recreate the symlink on the destination. More Info
BackupMake backups. Ideal to be used with 'Backup Directory' option. More Info
Backup DirectoryDirectory to store all backups on the receiving side. Must be used with 'Backup'. More Info
Backup SuffixOverrides default backup suffix. Default suffix is a ~ if no 'Backup Directory' was specified, otherwise it is an ("") empty string. More Info
Keep Partial filesKeep partially transferred files. By Default, rsync will delete any partially transferred file. More Info
Prune Empty DirectoriesTells Receiver to get rid of empty directories from the file-list, including nested directories that have no non-directory children. More Info

# Destination

CommandInputDescription
UpdateSkip files that are new on the receiving side. More Info
Relative PathUse relative paths. All directories specified in the path will also be added to the receiving side. More Info
Make PathCreate multiple levels of missing destination directories and the ability to create a path in which to put a single renamed file. More Info
Ignore Non-existing FilesSkip creating files (including directories) that do not exist yet on the receiving side. More Info
Ignore Existing FilesSkip creating files (not including directories) that exist on the receiving side. More Info

# Preservation

CommandInputDescription
Preserve PermissionsSet the destination permissions to be the same as the source permissions. More Info
Preserve ExecutabilityPreserve the 'x' permissions or executability of files. More Info
Preserve Extended AttributesUpdate the destination extended attributes to be the same as the source ones. More Info
Preserve OwnershipSet the owner of the destination file(s) to be the same as the source file(s), but only if the receiver is being run as the super-user. More Info
Preserve GroupSet the group of the destination file(s) to be the same as the source file(s), but only if the receiver is being run as the super-user. More Info
Preserve Modification TimesSet the modification times of the destination file(s) to be the same as the source file(s). More Info
Preserve Access TimesSet the access times of the destination file(s) to be the same as the source file(s). More Info
Preserve Creation TimesSet the creation times (newness) of the destination files to the same value as the source files. More Info

# Modification

CommandInputDescription
Changes File Mode BitsApply one or more comma-separated "chmod" modes to the permission of the files in the transfer. Prefixing with a D means this mode only applies to Directories. Prefixing with an F applies to Files. More Info
Changes File OwnershipForces all files to be owned by USER with group GROUP. Format: USER:GROUP. More Info
Sync DeleteDelete files from the receiving side that aren't on the sending side. More Info
Sync Delete BeforeDelete files from the receiving side that aren't on the sending side before the transfer starts. More Info
Sync Delete AfterDelete files from the receiving side that aren't on the sending side after the transfer has completed. More Info

# Rules

CommandInputDescription
Max File DeletionMaximum amount of files or directories to delete. -1 means to delete none. More Info
Max File SizeMaximum file size to transfer. The first letter of a unit string can be B (byte), K (kilo), M (mega), G (giga), T (tera), or P (peta). If the string is a single char or has "ib" added to it (e.g. "G" or "GiB") then the units are multiples of 1024. If you use a two-letter suffix that ends with a "B" (e.g. "kb") then you get units that are multiples of 1000. The string's letters can be any mix of upper and lower-case that you want to use. More Info
Stop AfterStop copying files after a certain number of MINUTES. More Info
Stop DateStop copying files at specified DATETIME. Format: y-m-dTh:m. More Info
Exclude File
Specify file to exclude from transfer. More Info
Include File
Specify file to include in the transfer. More Info

# Alternative Behaviors

CommandInputDescription
RecursiveCopy directories recursively. More Info
Look By SizeChange file finding behavior from transferring files with either a changed size or a changed last-modified time to changed in size only. More Info
Checksum BehaviorChanges the way rsync checks if the files have been changed and are in need of a transfer. More Info
Sparse BlocksTry handling sparse files efficiently so they take up less space on the receiving side. More Info
Send Whole FilesCauses all transferred files to be sent whole. More Info
Compressed TransferCompresses the file data as it is being transferred to the destination machine. More Info
Compression TypeThe compression algorithm to use. More Info

# I/O

CommandInputDescription
Max I/O TimeoutMaximum I/O timeout in seconds. Default: 0 (no timeout). More Info
Ignore ErrorsDelete files even when there are I/O errors. More Info

# Daemon

CommandInputDescription
IP Version
Prefer IPv4/IPv6 when creating sockets or running ssh. More Info
Run As DaemonRun Rsync as a daemon. More Info
Daemon TimeoutThe amount of SECONDS that Rsync will wait for its connection to an Rsync daemon to succeed. More Info
Daemon AddressThe specific Rsync daemon address to bind to. More Info
Transfer RateThe maximum transfer rate for the data sent over the socket, specified in units per second. Can use string units (e.g 'G' or 'GiB'). More Info
PortTCP port number for the daemon to listen. Default: 873. More Info

# Negation

CommandInputDescription
No OwnerDo not preserve file ownership. More Info
No RecursionDo not use recursion. More Info
No Device or Special FilesDo not preserve device and special files. More Info
Don't Preserve PermissionsDo not preserve permissions on files. More Info
Don't Preserve Modification TimesDo not preserve modification times on files. More Info
Don't Preserve GroupDo not preserve group on files. More Info
Don't Include DirectoriesTell the sending side to NOT include any directories that are encountered. More Info