update to version 1.6
[rsync/rsync.git] / README
CommitLineData
c627d613
AT
1WHAT IS RSYNC?
2--------------
3
4rsync is a replacement for rcp that has many more features.
5
6rsyns uses the "rsync algorithm" which provides a very fast method for
7bringing remote files into sync. It does this by sending just the
8differences in the files across the link, without requiring that both
9sets of files are present at one of the ends of the link beforehand.
10At first glance this may seem impossible because the calculation of
11diffs between two files normally requires local access to both
12files.
13
14A technical report describing the rsync algorithm is included with
c6e7fcb4 15this package.
c627d613
AT
16
17
18USAGE
19-----
20
21Basically you use rsync just like rcp, but rsync has many additional options.
22
23Here is a brief description of available options:
24
25-v, --verbose increase verbosity
26-c, --checksum always checksum
27-a, --archive archive mode (same as -rlptDog)
28-r, --recursive recurse into directories
29-b, --backup make backups (default ~ extension)
30-u, --update update only (don't overwrite newer files)
31-l, --links preserve soft links
dc5ddbcc 32-H, --hard-links preserve hard links
c627d613
AT
33-p, --perms preserve permissions
34-o, --owner preserve owner (root only)
35-g, --group preserve group
36-D, --devices preserve devices (root only)
37-t, --times preserve times
dc5ddbcc 38-S, --sparse handle sparse files efficiently
c627d613
AT
39-n, --dry-run show what would have been transferred
40-x, --one-file-system don't cross filesystem boundaries
41-B, --block-size SIZE checksum blocking size
42-e, --rsh COMMAND specify rsh replacement
43 --rsync-path PATH specify path to rsync on the remote machine
44-C, --cvs-exclude auto ignore files in the same way CVS does
45 --delete delete files that don't exist on the sending side
46-I, --ignore-times don't exclude files that match length and time
d89322c4 47-z, --compress compress file data
c627d613
AT
48 --exclude FILE exclude file FILE
49 --exclude-from FILE exclude files listed in FILE
50 --suffix SUFFIX override backup suffix
51 --version print version number
52
53
c627d613
AT
54SETUP
55-----
56
57Rsync uses rsh or ssh for communication. It does not need to be setuid
58and requires no special privilages for installation. It does not
59require a inetd entry or a daemon. You must, however, have a working
d89322c4
AT
60rsh or ssh system. Using ssh is recommended for its security
61features.
c627d613
AT
62
63To install rsync, first run the "configure" script. This will create a
64Makefile and config.h appropriate for your system. Then type
65"make".
66
67Once built put a copy of rsync in your search path on the local and
68remote systems (or use "make install"). That's it!
69
70
71COPYRIGHT
72---------
73
74Rsync was written by Andrew Tridgell and Paul Mackerras, and is
75available under the GPL.
76
77Andrew.Tridgell@anu.edu.au
78paulus@cs.anu.edu.au
79
80
81AVAILABILITY
82------------
83
84The main ftp site for rsync is ftp://samba.anu.edu.au/pub/rsync