Make idev, hlink and file_struct + strings use allocation
[rsync/rsync.git] / README
CommitLineData
c627d613
AT
1WHAT IS RSYNC?
2--------------
3
4rsync is a replacement for rcp that has many more features.
5
10ce5fbf 6rsync uses the "rsync algorithm" which provides a very fast method for
c627d613
AT
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
bf2daeaf
MP
21Basically you use rsync just like rcp, but rsync has many additional
22options. To get a complete list of supported options type
c627d613 23
bf2daeaf
MP
24 rsync --help
25
26and see the manual for more information.
c627d613 27
9ef53907 28
c627d613
AT
29SETUP
30-----
31
eeb1568f
MP
32Rsync normally uses rsh or ssh for communication. It does not need to
33be setuid and requires no special privileges for installation. You
34must, however, have a working rsh or ssh system. Using ssh is
35recommended for its security features.
36
37Alternatively, rsync can run in `daemon' mode, listening on a socket.
38This is generally used for public file distribution, although
39authentication and access control are available.
c627d613
AT
40
41To install rsync, first run the "configure" script. This will create a
42Makefile and config.h appropriate for your system. Then type
43"make".
44
debb4505
AT
45Note that on some systems you will have to force configure not to use
46gcc because gcc may not support some features (such as 64 bit file
47offsets) that your system may support. Set the environment variable CC
48to the name of your native compiler before running configure in this
49case.
50
c627d613
AT
51Once built put a copy of rsync in your search path on the local and
52remote systems (or use "make install"). That's it!
53
e095b568
AT
54RSYNC SERVERS
55-------------
56
57rsync can also talk to "rsync servers" which can provide anonymous or
ed06894a 58authenticated rsync. See the rsyncd.conf(5) man page for details on how
e095b568
AT
59to setup a rsync server. See the rsync(1) man page for info on how to
60connect to a rsync server.
61
c627d613 62
432b0fbd
AT
63MAILING LIST
64------------
65
66There is a mailing list for the discussion of rsync and its
67applications. It is open to anyone to join. I will announce new
68versions on this list.
69
d153974e 70To join the mailing list see the web page at http://lists.samba.org/
432b0fbd 71
9e3c856a 72To send mail to everyone on the list send it to rsync@samba.org
432b0fbd
AT
73
74
e92338c8
AT
75BUG REPORTS
76-----------
77
78If you have web access then please look at
e92338c8 79
e4ffb539 80 http://rsync.samba.org
bf2daeaf
MP
81
82That page contains links to the current bug list, and information on
83how to report a bug well. You might also like to try searching the
84internet for the error message you've received, or looking in the
85mailing list archives at
86
87 http://mail-archive.com/rsync@lists.samba.org/
88
89Please send bug reports to
e92338c8 90
bf2daeaf 91 rsync@lists.samba.org
e92338c8
AT
92
93
527cea66
AT
94CVS TREE
95--------
96
97If you want to get the very latest version of rsync direct from the
98source code repository then you can use anonymous cvs. You will need a
99recent version of cvs then use the following commands:
100
eeb1568f 101 cvs -d :pserver:cvs@pserver.samba.org:/cvsroot login
527cea66
AT
102 Password: cvs
103
eeb1568f 104 cvs -d :pserver:cvs@pserver.samba.org:/cvsroot co rsync
527cea66 105
eeb1568f
MP
106Look at the cvs documentation, or http://samba.org/cvs.html, for more
107details.
527cea66
AT
108
109
c627d613
AT
110COPYRIGHT
111---------
112
9e696bd4
MP
113rsync was originally written by Andrew Tridgell and has been improved
114by many developers around the world. rsync may be used, modified and
115redistributed only under the terms of the GNU General Public License,
116found in the file COPYING in this distribution, or at
c627d613 117
9e696bd4 118 http://www.fsf.org/licenses/gpl.html
c627d613
AT
119
120
121AVAILABILITY
122------------
123
9e3c856a
AT
124The main web site for rsync is http://rsync.samba.org/
125The main ftp site is ftp://rsync.samba.org/pub/rsync/
126This is also available as rsync://rsync.samba.org/rsyncftp/