David Dykstra
7e0ca8e2f0
When not using -p and file being copied to already existed, was mistakenly
...
using all the mode bits of the existing file rather than just the permissions,
including the file type.
1999-12-29 20:45:23 +00:00
Andrew Tridgell
7f931a0002
fixed a segv bug when handling symlinks.
...
thanks to taver@otenet.gr
1999-12-02 05:50:09 +00:00
Andrew Tridgell
4df9f36841
solved the problem of not using the right permissions when
...
preserve_perms is off.
1999-10-31 04:28:03 +00:00
Andrew Tridgell
8c9fd200f9
use do_open() instead of open() in several places to help the WinXX port
...
and O_BINARY
1999-10-25 22:04:09 +00:00
Andrew Tridgell
f855a7d01a
fixed a bug that made us use only 16 bits of the file checksum when
...
comparing checksums for the --checksum (-c) option.
1999-06-26 01:06:38 +00:00
David Dykstra
bd4ed7f719
Small bug fix for the --compare-dest option: when a file's contents
...
hadn't changed but its permissions had, the file wasn't copied but
its permissions were attempted to be set anyway. Made a change to
skip setting the permissions in that case.
1999-04-02 18:24:27 +00:00
David Dykstra
c7c11a0d4c
When a file cannot be deleted because of ETXTBSY (in particular, when an
...
executable is busy on HPUX), rename it instead to .rsyncNNN. Most of
the code was submitted by Ketil Kristiansen <ketil-k@osc.no >
1999-03-11 22:17:42 +00:00
Andrew Tridgell
f83f054875
added --size-only option. Useful when starting to use rsync after a
...
ftp based mirror system so that timestamps may not be right.
1999-02-18 03:48:24 +00:00
Andrew Tridgell
37f9805dab
changed strlcat() and strlcpy() to have the same semantics as the
...
OpenBSD functions of the same name.
changed slprintf() to take buffer length rather than buffer length -1
1998-11-14 23:31:58 +00:00
Andrew Tridgell
f7632fc60d
if no local destination is provided for the transfer then provide
...
a "ls -l" style listing of the files that would be transferred
1998-11-02 00:52:01 +00:00
David Dykstra
375a4556c7
Add --compare-dest option which enables specifying an additional destination
...
for comparisons when syncing. Useful for syncing into a scratch area and
doing a flash-cutover when it is completed.
1998-10-26 21:42:38 +00:00
Andrew Tridgell
2f03f956f4
rsync.c was getting a bit unwieldy so I split the code into 3 modules,
...
for the 3 logical stages of rsync; generator, sender and receiver.
1998-07-25 02:25:22 +00:00