Avoid splitting a multi-byte character when trimming a name.
[rsync/rsync.git] / README
CommitLineData
c627d613
AT
1WHAT IS RSYNC?
2--------------
3
1502f4f5
WD
4Rsync is a fast and extraordinarily versatile file copying tool for
5both remote and local files.
c627d613 6
1502f4f5
WD
7Rsync uses a delta-transfer algorithm which provides a very fast method
8for bringing remote files into sync. It does this by sending just the
c627d613 9differences in the files across the link, without requiring that both
1502f4f5
WD
10sets of files are present at one of the ends of the link beforehand. At
11first glance this may seem impossible because the calculation of diffs
12between two files normally requires local access to both files.
c627d613 13
1502f4f5
WD
14A technical report describing the rsync algorithm is included with this
15package.
c627d613
AT
16
17
18USAGE
19-----
20
1502f4f5
WD
21Basically you use rsync just like scp, but rsync has many additional
22options. To get a complete list of supported options type:
c627d613 23
1502f4f5 24 rsync --help
bf2daeaf 25
1502f4f5 26See the manpage for more detailed information.
c627d613 27
9ef53907 28
c627d613
AT
29SETUP
30-----
31
1502f4f5
WD
32Rsync normally uses ssh or rsh for communication with remote systems.
33It does not need to be setuid and requires no special privileges for
34installation. You must, however, have a working ssh or rsh system.
35Using ssh is recommended for its security features.
eeb1568f
MP
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 40
1502f4f5
WD
41To install rsync, first run the "configure" script. This will create a
42Makefile and config.h appropriate for your system. Then type "make".
c627d613 43
debb4505
AT
44Note that on some systems you will have to force configure not to use
45gcc because gcc may not support some features (such as 64 bit file
1502f4f5 46offsets) that your system may support. Set the environment variable CC
debb4505 47to the name of your native compiler before running configure in this
1502f4f5 48case.
debb4505 49
c627d613 50Once built put a copy of rsync in your search path on the local and
1502f4f5
WD
51remote systems (or use "make install"). That's it!
52
c627d613 53
8dca155f 54RSYNC DAEMONS
e095b568
AT
55-------------
56
1502f4f5
WD
57Rsync can also talk to "rsync daemons" which can provide anonymous or
58authenticated rsync. See the rsyncd.conf(5) man page for details on how
59to setup an rsync daemon. See the rsync(1) man page for info on how to
8dca155f 60connect to an rsync daemon.
e095b568 61
c627d613 62
1502f4f5
WD
63WEB SITE
64--------
432b0fbd 65
1502f4f5 66The main rsync web site is here:
432b0fbd 67
1502f4f5 68 http://rsync.samba.org/
432b0fbd 69
1502f4f5
WD
70You'll find a FAQ list, downloads, resources, HTML versions of the
71manpages, etc.
72
73
74MAILING LISTS
75-------------
76
77There is a mailing list for the discussion of rsync and its applications
78that is open to anyone to join. New releases are announced on this
79list, and there is also an announcement-only mailing list for those that
80want official announcements. See the mailing-list page for full
81details:
82
83 http://rsync.samba.org/lists.html
432b0fbd
AT
84
85
e92338c8
AT
86BUG REPORTS
87-----------
88
1502f4f5 89To visit this web page for full the details on bug reporting:
e92338c8 90
1502f4f5 91 http://rsync.samba.org/bugzilla.html
bf2daeaf 92
1502f4f5
WD
93That page contains links to the current bug list, and information on how
94to report a bug well. You might also like to try searching the Internet
95for the error message you've received, or looking in the mailing list
96archives at:
bf2daeaf 97
1502f4f5 98 http://mail-archive.com/rsync@lists.samba.org/
bf2daeaf 99
1a216662
WD
100To send a bug report, follow the instructions on the bug-tracking
101page of the web site.
e92338c8 102
1502f4f5 103Alternately, email your bug report to rsync@lists.samba.org .
24e61cff 104
e92338c8 105
1502f4f5
WD
106GIT REPOSITORY
107--------------
527cea66
AT
108
109If you want to get the very latest version of rsync direct from the
1502f4f5 110source code repository then you can use git:
527cea66 111
1502f4f5 112 git clone git://git.samba.org/rsync.git
527cea66 113
1502f4f5
WD
114See the download page for full details on all the ways to grab the
115source, including nightly tar files, web-browsing of the git repository,
116etc.:
527cea66 117
1502f4f5 118 http://rsync.samba.org/download.html
527cea66
AT
119
120
c627d613
AT
121COPYRIGHT
122---------
123
1502f4f5
WD
124Rsync was originally written by Andrew Tridgell and is currently
125maintained by Wayne Davison. It has been improved by many developers
126from around the world.
127
128Rsync may be used, modified and redistributed only under the terms of
129the GNU General Public License, found in the file COPYING in this
130distribution, or at:
c627d613 131
1502f4f5 132 http://www.fsf.org/licenses/gpl.html
c627d613
AT
133
134
135AVAILABILITY
136------------
137
9e3c856a
AT
138The main web site for rsync is http://rsync.samba.org/
139The main ftp site is ftp://rsync.samba.org/pub/rsync/
140This is also available as rsync://rsync.samba.org/rsyncftp/