--- old/io.c
+++ new/io.c
-@@ -50,6 +50,7 @@ extern int remove_source_files;
+@@ -53,6 +53,7 @@ extern int remove_source_files;
extern int preserve_hard_links;
extern char *filesfrom_host;
extern struct stats stats;
+extern time_t stop_at_utime;
- extern struct file_list *the_file_list;
+ extern struct file_list *cur_flist, *first_flist;
const char phase_unknown[] = "unknown";
-@@ -166,16 +167,24 @@ static void check_timeout(void)
+@@ -173,16 +174,24 @@ static void check_timeout(void)
{
time_t t;
OFF_T max_size = 0;
OFF_T min_size = 0;
@@ -374,6 +375,8 @@ void usage(enum logcode F)
- rprintf(F," --password-file=FILE read password from FILE\n");
+ rprintf(F," --password-file=FILE read daemon-access password from FILE\n");
rprintf(F," --list-only list the files instead of copying them\n");
rprintf(F," --bwlimit=KBPS limit I/O bandwidth; KBytes per second\n");
+ rprintf(F," --stop-at=y-m-dTh:m Stop rsync at year-month-dayThour:minute\n");
{"backup", 'b', POPT_ARG_NONE, &make_backups, 0, 0, 0 },
{"backup-dir", 0, POPT_ARG_STRING, &backup_dir, 0, 0, 0 },
{"suffix", 0, POPT_ARG_STRING, &backup_suffix, 0, 0, 0 },
-@@ -1087,6 +1092,36 @@ int parse_arguments(int *argc, const cha
+@@ -1093,6 +1098,36 @@ int parse_arguments(int *argc, const cha
usage(FINFO);
exit_cleanup(0);
default:
/* A large opt value means that set_refuse_options()
* turned this option off. */
-@@ -1646,6 +1681,15 @@ void server_options(char **args,int *arg
+@@ -1656,6 +1691,15 @@ void server_options(char **args,int *arg
args[ac++] = arg;
}
--- old/rsync.yo
+++ new/rsync.yo
@@ -395,6 +395,8 @@ to the detailed description below for a
- --password-file=FILE read password from FILE
+ --password-file=FILE read daemon-access password from FILE
--list-only list the files instead of copying them
--bwlimit=KBPS limit I/O bandwidth; KBytes per second
+ --stop-at=y-m-dTh:m Stop rsync at year-month-dayThour:minute
--write-batch=FILE write a batched update to FILE
--only-write-batch=FILE like --write-batch but w/o updating dest
--read-batch=FILE read a batched update from FILE
-@@ -1746,6 +1748,19 @@ transfer was too fast, it will wait befo
+@@ -1748,6 +1750,19 @@ transfer was too fast, it will wait befo
result is an average transfer rate equaling the specified limit. A value
of zero specifies no limit.