David Dykstra
59c95e4243
Add --link-dest option from J.W. Schultz.
2002-08-29 14:44:55 +00:00
Wayne Davison
8060514230
Stefan Nehlsen's fix of a timeout problem on large files.
...
(Modified to work with the latest CVS source.)
2002-07-31 21:20:07 +00:00
Martin Pool
67684d038d
long int fix from Nelson Beebe
2002-04-09 04:49:23 +00:00
Martin Pool
e66dfd1879
Doc and indent only.
2002-04-08 09:05:26 +00:00
Martin Pool
3e7053ac59
With -vv, show state of --whole-file once at the start of the transfer.
2002-04-08 08:06:18 +00:00
Martin Pool
420ef2c419
Doc.
2002-04-08 08:02:08 +00:00
Martin Pool
b35d0d8e9a
Split code out into separate files and remove some global variables to
...
reduce symbol dependencies between files and therefore make it easier
to write unit tests. The diff is large, but the actual code changes
are pretty small.
2002-04-08 04:10:20 +00:00
Martin Pool
fba31efb74
Disambiguate hard link messages.
2002-03-25 05:54:31 +00:00
David Dykstra
b8709f5046
Now that whole_file and no_whole_file are separate variables, have the
...
--whole-file and --no-whole-file options set/reset both variables so if
more than one option is specified the last one will be the one honored.
2002-03-19 20:16:42 +00:00
Martin Pool
bceec82f35
Previous solution for --no-whole-file would probably break when
...
connecting to old servers that don't have --no-whole-file.
Instead, we handle no_whole_file and whole_file separately, without
the magic -1 value. We don't modify no_whole_file after
initialization.
2002-03-19 03:39:42 +00:00
Martin Pool
d157de203a
Typo.
2002-03-19 03:23:08 +00:00
Martin Pool
1bfbf40bd5
Fix --whole-file problem that caused it to be the default even for
...
remote connections. (Frank Schulz)
<http://lists.samba.org/pipermail/rsync/2002-March/006526.html >
Also, add documentation for whole_file and add assertions that the
value is valid.
2002-03-19 03:21:53 +00:00
David Dykstra
1bbd10fe07
Remove the "rsync:" prefixes on FINFO messages. Return the "building file
...
list ... done" to the way it was in 2.5.1 and before when not using -P.
Apply the file list progress messages when receiving files in addition to
sending files.
2002-02-07 16:36:12 +00:00
Martin Pool
3d6feada8a
New --ignore-existing option, patch previously distributed with
...
Vipul's Razor. (Debian #124286 )
2002-01-25 10:42:23 +00:00
Martin Pool
91262d5d3e
Refactor code in send_sums to remove repeated ternaries.
2002-01-23 07:54:13 +00:00
Martin Pool
1707e0f9e2
Indent.
2002-01-23 06:48:13 +00:00
Martin Pool
fb47591de0
Typo.
2001-12-14 05:17:52 +00:00
Martin Pool
63787382d8
Clearer error messages.
2001-12-14 02:16:20 +00:00
Martin Pool
85d4d142d8
Clearer error messages.
2001-12-14 02:14:58 +00:00
David Dykstra
de343e3cce
Don't print out the directory name twice in verbose mode; it was being
...
printed a second time when the modification time of the directory was
being set, and that time around recv_files() calls recv_generator() with
an f_out of -1 so check that before printing the directory name.
2001-12-03 18:37:33 +00:00
Andrew Tridgell
a57873b710
fixed check for timeout in generator
...
the generator can easily make no progress for a long time, so don't do
timeout processing checks
2001-09-09 04:42:09 +00:00
Andrew Tridgell
8950ac03f8
imported new snprintf.c from samba, got rid of slprintf
2001-05-07 06:59:37 +00:00
Martin Pool
a1b1b1da46
Add comments.
2000-11-15 05:53:45 +00:00
Martin Pool
ef1aa91039
Doc.
2000-11-10 03:17:08 +00:00
Martin Pool
64c2cf8fea
Better error messages
2000-11-09 09:02:16 +00:00
Martin Pool
81d538ce23
Better error messages when unlink fails
2000-11-08 09:45:16 +00:00
Andrew Tridgell
5b56cc19fb
added --modify-window option from David Bolen <db3l@fitlinxx.com>
2000-09-06 02:12:13 +00:00
David Dykstra
60c8d7bc7f
Enable --compare-dest to work in combination with --always-checksum.
...
Problem and suggested patch from Dean Scothern dino@cricinfo.com (although
I re-wrote the patch).
2000-08-04 21:11:46 +00:00
Andrew Tridgell
4b3977bf00
get rid of annoying symlink error messages
2000-06-23 13:54:08 +00:00
Andrew Tridgell
74a7f81d57
updated a debug message
2000-01-24 12:22:58 +00:00
Andrew Tridgell
5f808dfbd7
fix a problem with files > 2GB
...
(thanks to T.J.Adye@rl.ac.uk )
2000-01-23 12:30:34 +00:00
Andrew Tridgell
1347d5126a
added --existing option, similar to one suggested by Gildas Quiniou <gildas@stip.fr>
2000-01-23 01:53:18 +00:00
David Dykstra
60be6acf46
If a destination file cannot be opened, pretend it doesn't exist rather
...
than skipping it and thus not updating it. For example, the ownership or
mode on a file may prevent opening it, but the directory may still be
writable so the file could be completely replaced.
2000-01-06 16:15:36 +00:00
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