Wayne Davison
0ccffd7c80
Disable popt aliases when we're a server so that any user-redefined
...
options can't cause a compatibility problem.
2006-01-21 20:15:49 +00:00
Wayne Davison
f5a910dd73
- We now set some saw_delete* vars to keep track of the case where
...
we disabled a delete option that the client sent us (since we may
still need to await exclude information from the client in such a
case).
- If -d and --delete are in effect without -r, we may need to send
the -d to the server even if it was implied, and we may need to
send --no-r to the server to ensure that we don't get into a
protocol-corrupting situation should the remote rsync disable the
--delete option (this works because the --no-r option was added in
the same version as the functionality which allows --delete to
work with -d sans -r.
2006-01-21 19:52:55 +00:00
Wayne Davison
e16adcdff3
- Allow multiple --chmod options to be specified.
...
- Call parse_chmod() with its new arg.
2006-01-21 09:14:42 +00:00
Wayne Davison
0938e8eee5
We don't ever need to send the --chmod option to the remote rsync.
2006-01-21 07:53:40 +00:00
Wayne Davison
243c995f5f
Allow the -x option to be repeated.
2006-01-21 00:36:15 +00:00
Wayne Davison
487094a0d7
Allow the --itemize-changes (-i) option to be repeated to indicate
...
that unchanged files should also be itemized.
2006-01-20 18:49:07 +00:00
Wayne Davison
6ab423a5b6
- Fixed the --help and --version output to avoid using embedded
...
newlines (which are no longer allowed in rprint()).
- Updated the Copyright info for 2006.
2006-01-17 04:26:12 +00:00
Wayne Davison
0ee6ca9800
Got rid of calls to the (soon to vanish) safe_fname() function.
2006-01-13 22:06:31 +00:00
Wayne Davison
d2da915cd0
Made --existing the main option, with --ignore-non-existing
...
as its alias.
2005-12-19 01:59:00 +00:00
Wayne Davison
c2c5682c0b
If the user specifies --backup with --delete (but without --backup-dir
...
and --delete-excluded), append a protect-filter rule onto the list of
filter rules. We run this on both the client and server side so that
an older client talking to a newer server still gets the protection
rule. (This rule will not cause compatibility problems with older
versions of rsync due to the graceful way that a protect rule turns
into an exclude rule if it needs to be sent to an older server.)
2005-12-16 17:18:29 +00:00
Wayne Davison
3c19f72c16
Made the parsing in parse_size_arg() a little more strict.
2005-11-15 17:49:59 +00:00
Wayne Davison
8938d67ef8
Fixed a typo in the --help output for --no-OPTION.
2005-11-15 07:05:55 +00:00
Wayne Davison
05724c07cf
Changed -h to be an alias for --human-readable (getting rid of -m).
...
Also added backward-compatibility code so that "rsync -h" shows the
help page on stdout like it would in older versions.
2005-11-15 06:35:27 +00:00
Wayne Davison
bee9df73c1
Changed the parsing of suffixes for --min-size and --max-size a little.
2005-11-12 20:08:00 +00:00
Wayne Davison
8f14cc496b
Parse the new --human-readable (-m) option.
2005-11-12 19:53:17 +00:00
Wayne Davison
dd32e2c3d4
Added support for the new --chmod option.
2005-11-07 04:28:35 +00:00
Wayne Davison
854a1aad35
Added --compress-level option.
2005-10-26 16:47:15 +00:00
Wayne Davison
470319d33b
Changed the --help text to mention --ignore-non-existing
...
instead of --existing.
2005-10-15 16:38:35 +00:00
Wayne Davison
1db954e9bc
Made parse_size_arg()'s parsing a little stricter.
2005-10-15 06:53:04 +00:00
Wayne Davison
74de13d19c
Added handling of the --min-size option.
2005-10-14 20:15:18 +00:00
Wayne Davison
837d01dd5a
Improved parse_size_arg() a little more.
2005-10-14 19:48:34 +00:00
Wayne Davison
aeb213ea0c
Improved parse_size_arg() so that it can be told to use powers of
...
ten instead of binary K/M/G powers, and so that it can be told to
add or subtract one from the result. We also make sure to pass
the arg to --max-size in a compatible manner with older versions.
2005-10-14 18:56:07 +00:00
Wayne Davison
e90aab4982
Changed the variable names for --existing and --ignore-existing.
2005-09-29 18:07:55 +00:00
Wayne Davison
550d4e2346
Reverted one xfer_dirs change from the last commit that should not
...
have gone in.
2005-09-29 17:27:11 +00:00
Wayne Davison
8d6c1c4e97
Allow deletions to occur in directories transferred with the
...
--dirs option in addition to the regular --recursive behavior.
2005-09-29 07:41:50 +00:00
Wayne Davison
868676dc15
Reordered the usage lines to cover push, then pull (which has a
...
better visible pattern than covering push & pull for each host-type).
2005-09-21 22:39:49 +00:00
Wayne Davison
08d82b84cb
The --help text was outputting some incomplete information on how
...
SRC is expanded or word-split, so I removed that text and replaced
it with an explaination of how ':' differs from '::' & 'rsync://'.
2005-09-13 01:02:54 +00:00
Wayne Davison
b6e22a47d3
- Allow --no-v and --no-verbose in the daemon options.
...
- If a too-long --temp-dir is specified when starting a daemon,
omplain to the daemon-starting user, not later to the client.
2005-08-30 16:13:54 +00:00
Wayne Davison
b8cc35874e
Allow --temp-dir to be specified with --daemon to set the default.
2005-08-30 05:00:56 +00:00
Wayne Davison
c3851185f3
Fixed a comment.
2005-08-30 02:59:30 +00:00
Wayne Davison
cfce9f6dc3
Reject attempts to combine --sparse with --inplace.
2005-08-30 02:57:19 +00:00
Wayne Davison
4afcb709a7
Forgot the --no-v option.
2005-08-28 00:43:51 +00:00
Wayne Davison
38b9170c52
One more tweak to the option data.
2005-08-27 21:12:44 +00:00
Wayne Davison
b616493883
Added the ability to prefix "no-" to various options, which gives the
...
user an easy way to override implied option switches.
2005-08-27 21:01:45 +00:00
Wayne Davison
e86e2fa173
A little more reordering of the option data.
2005-08-27 20:43:35 +00:00
Wayne Davison
11bfaf6351
Reordered some of the option data to make their grouping more logical.
2005-08-27 20:01:45 +00:00
Wayne Davison
a015788d21
Added the --append option.
2005-07-28 01:46:09 +00:00
Wayne Davison
89f2a4c231
Changed implied_dirs to only be non-0 if relative_paths is non-0.
2005-07-22 19:05:25 +00:00
Wayne Davison
9ac756c6ea
- The variable allowed_lull is now our global.
...
- Tweaked the --timeout option handling to call set_io_timeout().
2005-05-19 08:52:17 +00:00
Wayne Davison
d0e94abb40
Fixed one synopsis line to make the DEST arg optional.
2005-05-09 15:39:24 +00:00
Wayne Davison
74ba98a51b
There was no reason to have MAX_BASIS_DIRS factored into the
...
length of the argstr[] array.
2005-05-03 17:01:59 +00:00
Wayne Davison
4a34c6f176
- Moved the --version option in the help text.
...
- Tweaked the --log-format option's description.
- Added a comment.
2005-05-03 16:46:49 +00:00
Wayne Davison
723160280f
Tweaked the description of --from0.
2005-05-02 17:23:08 +00:00
Wayne Davison
95e107db96
Moved the size-parsing code for --max-size into its own function.
2005-04-28 16:11:32 +00:00
Wayne Davison
11e758a430
- Added do_xfers variable.
...
- Handle the new --only-write-batch=FILE option.
2005-04-09 18:59:47 +00:00
Wayne Davison
b4ef0bca47
Allows --address to be used in client mode.
2005-04-05 05:59:49 +00:00
Wayne Davison
624d6be2a5
Use new log_format_has() function instead of strstr().
2005-03-31 00:21:15 +00:00
Wayne Davison
da9f59264f
Added --protocol to --help output.
2005-03-28 20:40:25 +00:00
Wayne Davison
254ee3baab
- Don't complain if --dry-run is specified with --read-batch
...
or --write-batch.
- If --write-batch is combined with --dry-run, just disable
--write-batch (that avoids trying to create a batch file
and tells the user what would be transferred).
2005-03-24 16:41:16 +00:00
Wayne Davison
da2a6c1f1c
Fixed the -r kluge sent for pre-2.6.4 --list-only support.
2005-03-17 00:52:33 +00:00