search for: batch_prefix

Displaying 18 results from an estimated 18 matches for "batch_prefix".

2002 Feb 07
1
Latest version of the batch mode cleanup patch
...e[27] = "rsync_flist."; -char rsync_csums_file[27] = "rsync_csums."; -char rsync_delta_file[27] = "rsync_delta."; -char rsync_argvs_file[27] = "rsync_argvs."; - -char batch_file_ext[15]; - -int fdb; -int fdb_delta; -int fdb_open; -int fdb_close; +extern char *batch_prefix; struct file_list *batch_flist; -void create_batch_file_ext() -{ - struct tm *timeptr; - time_t elapsed_seconds; - - /* Save run date and time to use for batch file extensions */ - time(&elapsed_seconds); - timeptr = localtime(&elapsed_seconds); - - sprintf(batch_file_ext, "%4d%02...
2002 May 04
1
A simpler move-files patch
...T_MODIFY_WINDOW, OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_IGNORE_EXISTING}; static struct poptOption long_options[] = { @@ -365,6 +367,7 @@ {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links , 0, 0, 0 }, {"read-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_READ_BATCH, 0, 0 }, {"write-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_WRITE_BATCH, 0, 0 }, + {"move-files", 0, POPT_ARG_NONE, &move_files, 0, 0, 0 }, #ifdef INET6 {0, '4', POPT_ARG_VAL, &default_af_hint, AF_INET ,...
2004 Jul 12
2
[PATCH] Batch-mode rewrite
...ision 1.202 diff -c -b -d -r1.202 main.c *** main.c 30 Jun 2004 07:27:30 -0000 1.202 --- main.c 12 Jul 2004 00:37:49 -0000 *************** *** 58,63 **** --- 58,65 ---- extern char *rsync_path; extern char *shell_cmd; extern struct file_list *batch_flist; + extern int batch_fd; + extern char *batch_prefix; /* there's probably never more than at most 2 outstanding child processes, *************** *** 125,130 **** --- 127,151 ---- return; } + /* CAS: I think that this is a good candidate for a protocol + * change. Instead of making the protocol depend on + * am_server, I t...
2002 Mar 08
1
[PATCH][RFC] space saving incrementals
...===== RCS file: /cvsroot/rsync/options.c,v retrieving revision 1.80 diff -u -r1.80 options.c --- options.c 27 Feb 2002 22:49:57 -0000 1.80 +++ options.c 7 Mar 2002 20:56:03 -0000 @@ -106,6 +106,9 @@ int always_checksum = 0; int list_only = 0; +int compare_perms = 0; +int link_dest = 0; + char *batch_prefix = NULL; static int modify_window_set; @@ -195,6 +198,7 @@ rprintf(F," --safe-links ignore links outside the destination tree\n"); rprintf(F," -H, --hard-links preserve hard links\n"); rprintf(F," -p, --perms preserve per...
2003 Mar 08
1
[patch] rsync over existing I/O connections (new feature)
...show this help screen\n"); #ifdef INET6 rprintf(F," -4 prefer IPv4\n"); @@ -356,6 +360,8 @@ {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links , 0, 0, 0 }, {"read-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_READ_BATCH, 0, 0 }, {"write-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_WRITE_BATCH, 0, 0 }, + {"fd-in", 0, POPT_ARG_INT, &force_f_in , 0, 0, 0 }, + {"fd-out", 0, POPT_ARG_INT, &force_f_out , 0, 0, 0 }, #ifde...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
..._options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ *************** *** 361,366 **** --- 364,370 ---- {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links , 0, 0, 0 }, {"read-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_READ_BATCH, 0, 0 }, {"write-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_WRITE_BATCH, 0, 0 }, + {"preserve-atime", 0, POPT_ARG_NONE, &preserve_atime, 0, 0, 0 }, #ifdef INET6 {0, '4', POPT_ARG_VAL, &default_af_hint, AF...
2002 Apr 02
2
Handling of backup files - two new features proposed
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear list members, there are two new rsync-features I made up and would like to discuss with you. If you think these new features might be useful for the whole rsync-community, please give me a note and I'll send you the patches (or post them here). 1.) Setting owner and/or group of backup files. In our servers I'm using rsync to backup
2002 Aug 02
1
[patch] --link-dest
...hould this take an optional int giving the compression level? */ {"compress", 'z', POPT_ARG_NONE, &do_compression , 0, 0, 0 }, {"daemon", 0, POPT_ARG_NONE, &am_daemon , 0, 0, 0 }, @@ -591,6 +593,19 @@ /* popt stores the filename in batch_prefix for us */ read_batch = 1; break; + case OPT_LINK_DEST: +#if HAVE_LINK + compare_dest = poptGetOptArg(pc); + link_dest = 1; + break; +#else + snprintf(err_buf,sizeof(err_buf), + "hard links are not supported on this %s\n", + am_server ?...
2003 Sep 05
1
new option suggestion '--backup-only'
...OPT_ARG_STRING, &backup_dir, 0, 0, 0 }, + {"backup-dir", 0, POPT_ARG_STRING, &backup_dir, OPT_BACKUP_DIR, 0, 0 }, {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links, 0, 0, 0 }, {"read-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_READ_BATCH, 0, 0 }, {"write-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_WRITE_BATCH, 0, 0 }, {"files-from", 0, POPT_ARG_STRING, &files_from, 0, 0, 0 }, {"from0", '0', POPT_ARG_NONE, &eol_nulls, 0, 0, 0},...
2003 Jan 14
4
specifying a list of files to transfer
...static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ @@ -361,6 +370,10 @@ {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links , 0, 0, 0 }, {"read-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_READ_BATCH, 0, 0 }, {"write-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_WRITE_BATCH, 0, 0 }, + {"source-list", 0, POPT_ARG_NONE, &source_list, 0, 0, 0 }, + {"null", 0, POPT_ARG_NONE, 0, OPT_NULL, 0, 0}, + {...
2003 Aug 06
1
Should --progress implicitly assert -v?
...@ -566,6 +566,10 @@ keep_partial = 1; break; + case OPT_PROGRESS: + do_progress = 1; + break; + case OPT_WRITE_BATCH: /* popt stores the filename in batch_prefix for us */ write_batch = 1; @@ -629,6 +633,10 @@ if (relative_paths < 0) relative_paths = files_from? 1 : 0; + + if (do_progress & (!verbose)) { + verbose++; + } if (!backup_suffix) backu...
2005 Jan 05
1
rsync filename heuristics
...elp screen\n"); > #ifdef INET6 > rprintf(F," -4 prefer IPv4\n"); > @@ -340,6 +342,7 @@ > {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links}, > {"read-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_READ_BATCH}, > {"write-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_WRITE_BATCH}, > + {"fuzzy", 0, POPT_ARG_NONE, &fuzzy}, > #ifdef INET6 > {0, '4', POPT_ARG_VAL, &default_af_hint, AF_INET }, > {0,...
2004 Jun 17
1
[PATCH] make write_batch local
...ll service + * older version clients that still send batch args to server */ + + } + if (write_batch && read_batch) { rprintf(FERROR, "write-batch and read-batch can not be used together\n"); *************** *** 884,895 **** args[ac++] = arg; } ! if (batch_prefix) { ! char *r_or_w = write_batch ? "write" : "read"; ! if (asprintf(&arg, "--%s-batch=%s", r_or_w, batch_prefix) < 0) ! goto oom; ! args[ac++] = arg; ! } if (io_timeout) { if (asprintf(&arg, "--timeout=%d", io_timeout) < 0) --...
2002 Mar 22
1
[PATCH] --link-dest option
...hould this take an optional int giving the compression level? */ {"compress", 'z', POPT_ARG_NONE, &do_compression , 0, 0, 0 }, {"daemon", 0, POPT_ARG_NONE, &am_daemon , 0, 0, 0 }, @@ -562,6 +564,19 @@ /* popt stores the filename in batch_prefix for us */ read_batch = 1; break; + case OPT_LINK_DEST: +#if HAVE_LINK + compare_dest = poptGetOptArg(pc); + link_dest = 1; + break; +#else + snprintf(err_buf,sizeof(err_buf), + "hard links are not supported on this %s\n", + am_server ?...
2004 May 29
1
[patch] Filename conversion
...ef INET6 rprintf(F," -4 prefer IPv4\n"); @@ -382,6 +384,7 @@ static struct poptOption long_options[] {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links, 0, 0, 0 }, {"read-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_READ_BATCH, 0, 0 }, {"write-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_WRITE_BATCH, 0, 0 }, + {"fname-convert", 0, POPT_ARG_STRING, &fname_convert_cmd, 0, 0, 0 }, {"files-from", 0, POPT_ARG_STRING, &files_from, 0, 0, 0 },...
2003 Jun 25
3
patch draft for extended attributes on linux
...f INET6 rprintf(F," -4 prefer IPv4\n"); @@ -366,6 +373,7 @@ static struct poptOption long_options[] {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links , 0, 0, 0 }, {"read-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_READ_BATCH, 0, 0 }, {"write-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_WRITE_BATCH, 0, 0 }, + {"xattr", 0, POPT_ARG_NONE, &opt_xattr, 0, 0, 0 }, #ifdef INET6 {0, '4', POPT_ARG_VAL, &default_af_hint, AF_INET , 0...
2003 Feb 22
1
rsync ported to BeOS-bone
...->length); log_recv(file, &initial_stats); --- rsync-2.5.6.org/batch.c Tue Dec 24 08:42:04 2002 +++ rsync-2.5.6/batch.c Fri Feb 21 16:45:47 2003 @@ -8,6 +8,10 @@ #include "rsync.h" #include <time.h> +#ifndef S_IEXEC +# define S_IEXEC 0x040 +#endif + extern char *batch_prefix; struct file_list *batch_flist; -------------- next part -------------- POSIXLY_CORRECT=1 TOOLDIR=`pwd` rsync_bin=`pwd`/rsync srcdir="." ./runtests.sh ============================================================ ./runtests.sh running in /boot/home/devel/rsync-2.5.6 rsync_bin=/boot/...
2002 Aug 05
5
[patch] read-devices
...0, OPT_VERSION, 0, 0}, @@ -360,8 +362,9 @@ {"backup-dir", 0, POPT_ARG_STRING, &backup_dir , 0, 0, 0 }, {"hard-links", 'H', POPT_ARG_NONE, &preserve_hard_links , 0, 0, 0 }, {"read-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_READ_BATCH, 0, 0 }, {"write-batch", 0, POPT_ARG_STRING, &batch_prefix, OPT_WRITE_BATCH, 0, 0 }, + {"read-devices", 0, POPT_ARG_NONE, &read_devices, 0, 0, 0 }, #ifdef INET6 {0, '4', POPT_ARG_VAL, &default_af_hint, AF_INET...