Mentioned the auto-protect rule for --backup.
[rsync/rsync.git] / NEWS
CommitLineData
f90f7149 1NEWS for rsync 2.6.7 (UNRELEASED)
3ae6c187 2Protocol: 29 (unchanged)
f90f7149 3Changes since 2.6.6:
9db17434 4
ac1541f4
WD
5 BUG FIXES:
6
23740239 7 - Fixed a really old bug that caused --checksum (-c) to checksum all the
da2d13e3 8 files encountered during the delete scan (ouch).
23740239 9
56961bec
WD
10 - Made hard-links work with symlinks and devices again.
11
fbe57fdc
WD
12 - If a device-file/special-file changes permissions, rsync now updates the
13 permissions without recreating the file.
4fdb03a6 14
9425918d
WD
15 - If the user specifies a remote-host for both the source and destination,
16 we now output a syntax error rather than trying to open the destination
17 hostspec as a filename.
18
7ea7bebf
WD
19 - When --inplace creates a new destination file, rsync now creates it with
20 permissions 0600 instead of 0000 -- this makes restarting possible when
21 the transfer gets interrupted in the middle of sending a new file.
22
ec69bdbd
WD
23 - Reject the combination of --inplace and --sparse since the sparse-output
24 algorithm doesn't work when overwriting existing data.
25
fbe57fdc
WD
26 - Fixed the directory name in the error that is output when pop_dir()
27 fails.
28
02efda9f
WD
29 - Really fixed the parsing of a "!" entry in .cvsignore files this time.
30
ce0da32a
WD
31 - If the generator gets a stat() error on a file, output it (this used to
32 require at least -vv for the error to be seen).
33
34 - If waitpid() fails or the child rsync didn't exit cleanly, we now handle
35 the exit status properly and generate a better error.
0417c34e 36
8a1f3153
WD
37 - Fixed some glitches in the double-verbose output when using --copy-dest,
38 --link-dest, or --compare-dest.
39
ac1541f4
WD
40 ENHANCEMENTS:
41
870dddc5
WD
42 - Added the --append option that makes rsync append data onto files
43 that are longer on the source than the destination (this includes new
44 files).
45
bad01106
WD
46 - Added the --min-size=SIZE option to exclude small files from the
47 transfer.
48
49 - Added the --compress-level option to allow you to set how aggressive
da2d13e3 50 rsync's compression should be (this option implies --compress).
d697314b 51
889439c2
WD
52 - Enhanced the parsing of the SIZE value for --min-size and --max-size
53 to allow easy entry of multiples of 1000 (instead of just multiples
54 of 1024) and off-by-one values too (e.g. --max-size=8mb-1).
55
da2d13e3 56 - The options --human-readable (-h) and --si change the output of the
889439c2 57 --stats and the end-of-run summary to be easier to read.
d697314b 58
f90f7149
WD
59 - If lutimes() and/or lchmod() are around, use them to allow the
60 preservation of attributes on symlinks.
7d7a34ae 61
8a1f3153
WD
62 - The --link-dest option now affects symlinks and devices (when
63 possible).
64
65 - Improved the output of hard-linked and copied files when using
66 --link-dest, --copy-dest, or --compare-dest.
67
870dddc5
WD
68 - Added two config items to the rsyncd.conf parsing: "pre-xfer exec"
69 and "post-xfer exec". These allow a command to be specified on a
70 per-module basis that will be run before and/or after a daemon-mode
da2d13e3
WD
71 transfer. (See the manpage for a list of the environment variables
72 that are set with information about the transfer.)
5b9cc695 73
56961bec
WD
74 - When using the --relative option, you can now insert a dot dir in
75 the source path to indicate where the replication of the source dirs
76 should start. For example, if you specify a source path of
da2d13e3 77 rsync://host/module/foo/bar/./baz/dir with -R, rsync will now only
56961bec
WD
78 replicate the "baz/dir" part of the source path (note: a trailing
79 dot dir is unaffected unless it also has a trailing slash).
80
a912a980
WD
81 - Added some new --no-FOO options that make it easier to override
82 unwanted implied or default options. For example, "-a --no-o" (aka
83 "--archive --no-owner") can be used to turn off the preservation of
84 file ownership that is implied by -a.
85
ef3bb69a
WD
86 - Added the --chmod=MODE option that allows the destination permissions
87 to be changed from the source permissions. E.g. --chmod=g+w,o-rwx
88
ec69bdbd
WD
89 - Allow the --temp-dir option to be specified when starting a daemon,
90 which sets the default temporary directory for incoming files.
91
ce0da32a
WD
92 - If --delete is combined with --dirs without --recursive, rsync will
93 now delete in any directory whose content is being synchronized.
94
2067ec73
WD
95 - If --backup is combined with --delete without --backup-dir (and
96 without --delete-excluded), we add a protect filter-rule to ensure
97 that files with the backup suffix are not deleted.
98
3b153409
WD
99 - The file-count stats that are output by --progress were improved to
100 better indicate what the numbers mean. For instance, the output:
101 "(xfer#5, to-check=8383/9999)" indicates that this was transferred
102 file #5, and we still need to check 8383 files out of 9999 total.
103
e3f83953
WD
104 - Some minor documentation improvements.
105
0417c34e
WD
106 - Updated some diffs in the patches dir.
107
5b9cc695
WD
108 INTERNAL:
109
110 - Some buffer sizes were expanded a bit, particularly on systems where
111 MAXPATHLEN is overly small (e.g. cygwin).
112
113 - If io_printf() tries to format more data than fits in the buffer, exit
114 with an error instead of transmitting a truncated buffer.
ce0da32a 115
d409c6ac
WD
116 - If a va_copy macro is defined, lib/snprintf.c will use it when defining
117 the VA_COPY macro.
118
b1b04fcd
WD
119 - Reduced the amount of stack memory needed for each level of directory
120 recursion by nearly MAXPATHLEN bytes.
121
ce0da32a
WD
122 DEVELOPER RELATED:
123
124 - Several diffs in the patches dir now use the proper --enable-FOO
125 configure option instead of --with-FOO to turn on the inclusion of
126 the newly patched feature.
127