


Prune empty directory chains from file-listĭon't map uid/gid values by user/group nameĭon't skip files that match size and timeįind similar file for basis if no dest fileĪlso compare received files relative to DIR Put a partially transferred file into DIR Receiver deletes after transfer, not duringĪlso delete excluded files from dest dirsĭon't transfer any file smaller than SIZE Receiver deletes before transfer, not during Sender removes synchronized files (non-dir) Skip updating files that exist on receiver Specify the rsync to run on remote machine Store/recover privileged attrs using xattrsĬopy files whole (w/o delta-xfer algorithm) Transform symlink to dir into referent dir Ignore symlinks that point outside the tree Skip files that are newer on the receiver Make backups (see -suffix & -backup-dir)īackup suffix (default ~ w/o -backup-dir) Skip based on checksum, not mod-time & sizeĪrchive mode equals -rlptgoD (no -H, -A, -X) Usages with only one SRC argument and no DEST argument list the source files instead of copying. Īccess via rsync daemon ( PUSH): rsync SRC. [ HOST: DESTĪccess via rsync daemon ( PULL): rsync rsync rsync:/// SRC. Īccess via remote shell ( PULL): rsync Īccess via remote shell ( PUSH): rsync SRC. Support for anonymous or authenticated rsync daemons (ideal for mirroring).Pipelining of file transfers to minimize latency costs.Can use any transparent remote shell, including ssh or rsh.

A CVS exclude mode for ignoring the same files that CVS would ignore.Exclude and exclude-from options similar to GNU tar.Support for copying links, devices, owners, groups, and permissions.Some of the additional features of rsync are: Any changes in the other preserved attributes (as requested by options) are made on the destination file directly when the quick check indicates that the file's data does not need to be updated. Rsync finds files that need to be transferred using a "quick check" algorithm (by default) that looks for files that have changed in size or in last-modified time. rsync is widely used for backups and mirroring and as an improved copy command for everyday use. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending only the differences between the source files and the existing files in the destination. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. Rsync is a fast and extraordinarily versatile file copying tool.
