Wayne Davison
3359acb8cb
- Changed --delete to go back to defaulting to the delete-before
...
functionality.
- Got rid of --delete-before.
- Added --delete-during.
- Added a popt alias for --delete-during: --del.
- Fixed a bug in the generation of the proper --delete options
for the server.
- Generate an error if the user tries to specify both --delete-during
and --delete-after.
2005-01-25 03:08:58 +00:00
Wayne Davison
aa4d3b4cc0
- Added parsing for --filter (-f) and -F.
...
- Changed the include/exclude calls to work with the new XFLG_* values.
2005-01-25 00:52:56 +00:00
Wayne Davison
a51b316824
Added the delete-during handling (also selected with --delete) and
...
added --delete-before for the old delete logic.
2005-01-24 01:41:54 +00:00
Wayne Davison
20fb7b9175
Added --omit-dir-times (-O).
2005-01-24 00:51:32 +00:00
Wayne Davison
65e4cda059
- Changed --keep-dirs (-k) into --dirs (-d).
...
- Renamed keep_dirs to xfer_dirs.
- Mention --list-only in the --help.
2005-01-24 00:17:39 +00:00
Wayne Davison
e57211c544
When an option defined with POPT_ARG_VAL is being refused, we must
...
change it to POPT_ARG_NONE or it won't be refused.
2005-01-23 01:25:36 +00:00
Wayne Davison
51d4839861
- We now set a delete_before variable for the --delete option.
...
- Reordered some of the options in the --help list.
- Made the popt-handling of the delete options simpler.
- Parse the new --keep-dirs option.
- Parse the new --list-only option.
- Set recurse to -1 (infinite) for the -r and -a options.
- Set keep_dirs for --list-only.
2005-01-22 22:48:34 +00:00
Wayne Davison
1490812ab2
Switched uint64 vars over to int64.
2005-01-20 22:42:47 +00:00
Wayne Davison
c72f5bd9c4
A slight simplification to the no-implied-dirs change.
2005-01-19 00:34:13 +00:00
Wayne Davison
3a90ea0acd
- Added new int, keep_dirs, which is set if either recurse or
...
files_from was specified.
- Pass the the sender the --no-implied-dirs option if --relative
was specified (or implied) and the sender is not the client.
2005-01-19 00:23:32 +00:00
Wayne Davison
4ce838e1f1
We don't need to complain about --inplace being combined with one
...
of the --FOO-dest options anymore.
2005-01-17 23:11:18 +00:00
Wayne Davison
3b26bba0c4
Fixed an off-by-one comparison against MAX_BASIS_DIRS.
2005-01-15 21:23:04 +00:00
Wayne Davison
ce0b384fa6
Made basis_dir_cnt non-static.
2005-01-15 21:12:58 +00:00
Wayne Davison
dfd7d541b0
Made compare_dest non-static.
2005-01-15 20:54:25 +00:00
Wayne Davison
ded4daf049
Some inplace-checking code should have been inside the #ifdef that
...
handles the case where --inplace cannot be supported.
2005-01-15 20:22:54 +00:00
Wayne Davison
12a79db2f6
Simplified one "if" that checks if one of the --FOO-dest options
...
was specified.
2005-01-15 04:40:06 +00:00
Wayne Davison
a06b419d42
Use an int32 for the each block-size variable.
2005-01-01 21:08:14 +00:00
Wayne Davison
c0ab28d1d9
If we send --files-from to the remote server and relative-paths
...
are not enabled, we need to also send --no-relative.
2004-12-22 09:10:08 +00:00
Wayne Davison
b471329591
Allow --port to be used in client mode (as well as daemon mode).
2004-12-08 17:29:54 +00:00
Wayne Davison
0c56b1add7
Allow "port" to be specified in the rsyncd.conf file.
2004-11-27 18:24:12 +00:00
Wayne Davison
e012f858d6
- Added parsing for --copy-dest.
...
- Added support for multiple --*-dest options.
2004-11-27 17:52:51 +00:00
Wayne Davison
9fb0844100
- Added the --bwlimit option to the options that are handled in
...
combination with --daemon. This value is both a default bwlimit
value and a maximum limit if the client asks for something larger.
- Enabled popt support for option aliases.
2004-11-17 19:29:20 +00:00
Wayne Davison
7d5acf1d44
Added the --max-size option.
2004-11-11 01:45:25 +00:00
Wayne Davison
3ac7f5d4c1
Separate the daemon options so that the user can't mix client options
...
with daemon options and visa versa.
2004-10-14 17:08:15 +00:00
Wayne Davison
ad71500818
It seems that some popt releases don't define POPT_TABLEEND, so don't
...
use it.
2004-10-14 09:11:12 +00:00
Wayne Davison
8db7cc2cff
- Got rid of some awkward spacing in the long_options table.
...
- Use the POPT_TABLEEND macro to end the long_options table.
- Improved the count_args() function to accept a NULL pointer.
- Simplified the code that sets *argc using count_args().
2004-10-11 10:43:25 +00:00
Wayne Davison
64444de582
Mention in -a's usage message that -H isn't implied.
2004-10-07 17:00:36 +00:00
Wayne Davison
a2570930e8
Made the refused-option message clearer, like Paul suggested.
2004-09-23 17:39:05 +00:00
Wayne Davison
13791b1eeb
If the partial-dir value is relative, add a directory-exclude for it
...
to the end of the user's exclude list.
2004-09-22 04:12:13 +00:00
Wayne Davison
075aa18fd4
Look for the RSYNC_PARTIAL_DIR environment variable when --partial
...
was specified (and --partial-dir was not).
2004-09-18 17:34:56 +00:00
Wayne Davison
a20c9893e4
Don't try to optimize-away the sending of the --delete option if
...
--delete-after was specified (since we don't know what the protocol
version will be yet).
2004-09-08 07:33:06 +00:00
Wayne Davison
bd397b8cba
Reject the use of --compare-dest or --link-dest with --inplace
...
(it will take extra code to suppor this).
2004-09-07 20:36:36 +00:00
Wayne Davison
ba3db4795e
Allow the use of the --exclude*/--include* options to a server
...
process again, but make sure that the user didn't specify a
server-excluded file for one of the --*-from options.
2004-08-26 17:39:48 +00:00
Wayne Davison
58b1999e08
Call clean_flist() with its new "collapse_dot_dot" arg.
2004-08-12 18:20:07 +00:00
Wayne Davison
10796f4b6e
Call sanitize_path() with updated args.
2004-08-11 23:41:03 +00:00
Wayne Davison
0a5f12720e
Use the new sanitize_path() calling syntax.
2004-08-05 21:57:09 +00:00
Wayne Davison
d73e7f6edd
In set_refuse_options(): make sure we scan the whole list of options
...
and avoid complaining about a wild-card spec that actually matches
one or more options.
2004-08-04 21:20:34 +00:00
Wayne Davison
61542c41de
Decided that we don't need to limit the block size after all now
...
that the map_file() code handles large block sizes better.
2004-08-03 15:41:16 +00:00
Wayne Davison
9cd339eb39
- Changed the description for --block-size in the --help text.
...
- Use the new MAX_BLOCK_SIZE to limit the block_size value.
2004-08-03 08:05:20 +00:00
Wayne Davison
093e816c37
Allow better wildcard matching against the short-option letters in
...
the "refuse options" handling.
2004-08-02 07:40:34 +00:00
Wayne Davison
06a5054273
- Extended the "refuse options" daemon setting to allow wildcards
...
and to allow single-letter option names.
- No need to send the various --delete* options or the --force option
from the receiver to the sender.
2004-08-02 05:00:30 +00:00
Wayne Davison
c3ea09906d
- Changed all the errors in parse_arguments() to use the err_buf so
...
that a client talking to a daemon server actually gets the error.
- If a daemon has a list of exclusions, apply that list to various
options to ensure that an excluded file can't be affected.
- Fixed an arg-checking problem when --files-from got passed to a
daemon.
2004-07-31 20:09:54 +00:00
Wayne Davison
a7260c4037
Added the new --partial-dir option.
2004-07-29 16:06:38 +00:00
Wayne Davison
28deecca55
Changed NO_INT64 to INT64_IS_OFF_T because off_t might actually be
...
64 bits. The code now only complains if int64 is really too short.
2004-07-22 19:28:45 +00:00
Wayne Davison
4db88e5b8f
Some --help text fixes.
2004-07-22 15:43:28 +00:00
Wayne Davison
3611989355
Complain if the user combines --read-batch with --files-from.
2004-07-21 22:50:11 +00:00
Wayne Davison
51bd4f0f3a
Tweaked an error message.
2004-07-20 21:10:20 +00:00
Wayne Davison
a3221d2ac1
My version of Mark Curtis's --inplace option.
2004-07-16 20:06:24 +00:00
Wayne Davison
de584c658c
Limit the block-size that the user can specify.
2004-07-16 18:01:30 +00:00
Wayne Davison
94327ff0c2
- Complain and die if --dry-run is used with a batch option.
...
- Improved the warning if a batch option gets sent to the server.
2004-07-15 19:06:32 +00:00