search for: popt_arg_val

Displaying 20 results from an estimated 43 matches for "popt_arg_val".

2023 May 17
1
[PATCH] Add --omit-{device,special}-times options
...crtimes = 0; int omit_dir_times = 0; int omit_link_times = 0; +int omit_device_times = 0; +int omit_special_times = 0; int trust_sender = 0; int update_only = 0; int open_noatime = 0; @@ -646,6 +648,10 @@ static struct poptOption long_options[] = { {"omit-link-times", 'J', POPT_ARG_VAL, &omit_link_times, 1, 0, 0 }, {"no-omit-link-times",0, POPT_ARG_VAL, &omit_link_times, 0, 0, 0 }, {"no-J", 0, POPT_ARG_VAL, &omit_link_times, 0, 0, 0 }, + {"omit-device-times",0, POPT_ARG_VAL, &omit_device_times, 1, 0, 0...
2007 Aug 21
1
DO NOT REPLY [Bug 4907] New: --disable-ipv6 disables -4 option
...'e', POPT_ARG_STRING, &shell_cmd, 0, 0, 0 }, {"rsync-path", 0, POPT_ARG_STRING, &rsync_path, 0, 0, 0 }, {"temp-dir", 'T', POPT_ARG_STRING, &tmpdir, 0, 0, 0 }, -#ifdef INET6 {"ipv4", '4', POPT_ARG_VAL, &default_af_hint, AF_INET, 0, 0 }, +#ifdef INET6 {"ipv6", '6', POPT_ARG_VAL, &default_af_hint, AF_INET6, 0, 0 }, #endif {"8-bit-output", '8', POPT_ARG_NONE, &allow_8bit_chars, 0, 0, 0 }, @@ -588,8 +588,8 @@ static struct...
2008 Mar 11
1
[PATCH] Add --no-y.
...letions(-) diff --git a/options.c b/options.c index 4ac8846..82597bf 100644 --- a/options.c +++ b/options.c @@ -577,6 +577,7 @@ static struct poptOption long_options[] = { {"link-dest", 0, POPT_ARG_STRING, 0, OPT_LINK_DEST, 0, 0 }, {"fuzzy", 'y', POPT_ARG_VAL, &fuzzy_basis, 1, 0, 0 }, {"no-fuzzy", 0, POPT_ARG_VAL, &fuzzy_basis, 0, 0, 0 }, + {"no-y", 0, POPT_ARG_VAL, &fuzzy_basis, 0, 0, 0 }, {"compress", 'z', POPT_ARG_NONE, 0, 'z', 0, 0 }, {"n...
2009 Oct 15
1
PATCH: --write-devices to allow synchronising to a block device
...ntf(F," -D same as --devices --specials\n"); rprintf(F," -t, --times preserve modification times\n"); @@ -508,6 +510,7 @@ {"no-D", 0, POPT_ARG_NONE, 0, OPT_NO_D, 0, 0 }, {"devices", 0, POPT_ARG_VAL, &preserve_devices, 1, 0, 0 }, {"no-devices", 0, POPT_ARG_VAL, &preserve_devices, 0, 0, 0 }, + {"write-devices", 'w', POPT_ARG_NONE, 0, 'w', 0, 0 }, {"specials", 0, POPT_ARG_VAL, &preserve_specials, 1, 0,...
2019 Jun 26
2
Allow "--in-place" as an alternative option name for "--inplace"
...+0200 Allow "--in-place" as an alternative option name for "--inplace". diff --git a/options.c b/options.c index e5b0cb68..7ff0c51d 100644 --- a/options.c +++ b/options.c @@ -926,6 +926,7 @@ static struct poptOption long_options[] = { {"no-S", 0, POPT_ARG_VAL, &sparse_files, 0, 0, 0 }, {"preallocate", 0, POPT_ARG_NONE, &preallocate_files, 0, 0, 0}, {"inplace", 0, POPT_ARG_VAL, &inplace, 1, 0, 0 }, + {"in-place", 0, POPT_ARG_VAL, &inplace, 1, 0, 0 }, {"no-inp...
2008 Mar 23
1
[PATCH] allow to change the block size used to handle sparse files
...," -W, --whole-file copy files whole (without delta-xfer algorithm)\n"); rprintf(F," -x, --one-file-system don't cross filesystem boundaries\n"); @@ -540,6 +542,7 @@ static struct poptOption long_options[] = { {"sparse", 'S', POPT_ARG_VAL, &sparse_files, 1, 0, 0 }, {"no-sparse", 0, POPT_ARG_VAL, &sparse_files, 0, 0, 0 }, {"no-S", 0, POPT_ARG_VAL, &sparse_files, 0, 0, 0 }, + {"sparse-block", 'U', POPT_ARG_LONG, &sparse_files_block_size, 0,...
2010 Jun 15
3
about rsyncing of block devices
...same as --devices --specials\n"); rprintf(F," -t, --times preserve modification times\n"); @@ -507,6 +509,7 @@ static struct poptOption long_options[] {"no-D", 0, POPT_ARG_NONE, 0, OPT_NO_D, 0, 0 }, {"devices", 0, POPT_ARG_VAL, &preserve_devices, 1, 0, 0 }, {"no-devices", 0, POPT_ARG_VAL, &preserve_devices, 0, 0, 0 }, + {"copy-devices", 0, POPT_ARG_NONE, &copy_devices, 0, 0, 0 }, {"specials", 0, POPT_ARG_VAL, &preserve_specials, 1, 0, 0...
2004 Dec 06
1
port and double-colon
..." --port=PORT specify double-colon alternate port number\n"); #ifdef INET6 rprintf(F," -4, --ipv4 prefer IPv4\n"); rprintf(F," -6, --ipv6 prefer IPv6\n"); @@ -404,6 +405,7 @@ {"no-implied-dirs", 0, POPT_ARG_VAL, &implied_dirs, 0, 0, 0 }, {"protocol", 0, POPT_ARG_INT, &protocol_version, 0, 0, 0 }, {"checksum-seed", 0, POPT_ARG_INT, &checksum_seed, 0, 0, 0 }, + {"port", 0, POPT_ARG_INT, &rsync_port, 0, 0, 0 }, #ifdef...
2013 Jun 03
1
Adding arguments to the options
...hat in options.c file, I have added the entry in the array of structure as, > static struct poptOption long_options[] = { > /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ > {"xxxx", 'x', xxxxxxx, x, xxxxx, x, x}, > {"https", 'N', POPT_ARG_VAL, &https_port > _s > , 0, 0, 0}} So for getting the value of the argument of option in the https_port_s, I have just added one switch case with case as 'N', Is it automatically copy the value of option argument in the variable https_port_s? I am getting any value in https_port...
2006 Jun 02
3
[PATCH] --omit-dir-changes, qsort<>mergesort issues
...receiver attempts super-user activities\n"); rprintf(F," -S, --sparse handle sparse files efficiently\n"); rprintf(F," -n, --dry-run show what would have been transferred\n"); @@ -425,6 +427,7 @@ {"no-times", 0, POPT_ARG_VAL, &preserve_times, 0, 0, 0 }, {"no-t", 0, POPT_ARG_VAL, &preserve_times, 0, 0, 0 }, {"omit-dir-times", 'O', POPT_ARG_VAL, &omit_dir_times, 2, 0, 0 }, + {"omit-dir-changes", 0, POPT_ARG_VAL, &omit_dir_changes, 1,...
2005 Nov 01
2
request: add TCP buffer options to rsync CLI?
Dear rsync folks, I'd like to request/suggest that cli options to set TCP send/receive buffers be added to rsync client-side. Summary: I'm aware that a daemon's config-file can set socket options for the server side (e.g. SO_SNDBUF, SO_RCVBUF). That is useful. But when trying to get high-throughput rsync over long paths (i.e. large bandwidth*delay product), since
2009 Jan 24
2
[patch] Replace illegal characters in filenames for FAT (switch)
...{"iconv", 0, POPT_ARG_STRING, &iconv_opt, 0, 0, 0 }, {"no-iconv", 0, POPT_ARG_NONE, 0, OPT_NO_ICONV, 0, 0 }, #endif + {"fat-filenames", 0, POPT_ARG_NONE, &fat_filenames, 0, 0, 0 }, {"ipv4", '4', POPT_ARG_VAL, &default_af_hint, AF_INET, 0, 0 }, {"ipv6", '6', POPT_ARG_VAL, &default_af_hint, AF_INET6, 0, 0 }, {"8-bit-output", '8', POPT_ARG_VAL, &allow_8bit_chars, 1, 0, 0 }, diff --git a/receiver.c b/receiver.c index 4325e30..bc9d...
2020 Feb 06
0
[PATCH] Add support for zstd compression
...rprintf(F," --skip-compress=LIST skip compressing files with a suffix in LIST\n"); rprintf(F," -C, --cvs-exclude auto-ignore files the same way CVS does\n"); @@ -968,6 +975,9 @@ static struct poptOption long_options[] = { {"no-fuzzy", 0, POPT_ARG_VAL, &fuzzy_basis, 0, 0, 0 }, {"no-y", 0, POPT_ARG_VAL, &fuzzy_basis, 0, 0, 0 }, {"compress", 'z', POPT_ARG_NONE, 0, 'z', 0, 0 }, +#ifdef HAVE_LIBZSTD + {"zstd-compress", 'Z', POPT_ARG_NONE, 0, 'Z...
2002 May 04
1
A simpler move-files patch
...quot;, 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 , 0, 0 }, {0, '6', POPT_ARG_VAL, &default_af_hint, AF_INET6 , 0, 0 }, @@ -813,6 +816,9 @@ args[ac++] = "--compare-dest"; args[ac++] = compare_dest; } + + if (move_files) + args[ac++] = "--move-files"; *a...
2004 May 15
1
Fwd: Re: setting checksum_seed
...F," -h, --help show this help screen\n"); #ifdef INET6 rprintf(F," -4 prefer IPv4\n"); @@ -386,6 +387,7 @@ {"from0", '0', POPT_ARG_NONE, &eol_nulls, 0, 0, 0}, {"no-implied-dirs", 0, POPT_ARG_VAL, &implied_dirs, 0, 0, 0 }, {"protocol", 0, POPT_ARG_INT, &protocol_version, 0, 0, 0 }, + {"checksum-seed", 0, POPT_ARG_INT, &checksum_seed, 0, 0, 0 }, #ifdef INET6 {0, '4', POPT_ARG_VAL, &default_af_hint, AF_INET, 0...
2005 Jan 27
1
Modifying SWAT views for general users
I'm looking at having my general Samba users change their own passwords on my Linux server using SWAT. Is there a way that I can have them have access to the password changing view and not be able to see the configuration and status information. Is there an easy way for those "button" to not appear on the web page? Roy Costa roycosta at us.ibm.com
2004 Mar 17
1
setgid on directories
...--- options.c Tue Dec 30 13:16:25 2003 +++ ../rsync-2.6.0.gsa/options.c Thu Feb 12 12:22:21 2004 @@ -88,6 +88,7 @@ int ignore_errors=0; int modify_window=0; int blocking_io=-1; +int setgid_dirs=0; /** Network address family. **/ @@ -380,6 +381,7 @@ {0, '4', POPT_ARG_VAL, &default_af_hint, AF_INET, 0, 0 }, {0, '6', POPT_ARG_VAL, &default_af_hint, AF_INET6, 0, 0 }, #endif + {"setgid_dirs", 0, POPT_ARG_NONE, &setgid_dirs, 0, 0, 0 }, {0,0,0,0, 0, 0, 0} }; Jim Ogilvie
2003 Feb 01
0
Fw: Re: [Apt-rpm] I: [PATCH] 0.5.4cnc9: rsync method support
...tic int modify_window_set; * address, or a hostname. **/ char *bind_address; +/** Print information needed for APT rsync method */ +int apt_support = 0; static void print_rsync_version(enum logcode f) { @@ -370,6 +372,7 @@ static struct poptOption long_options[] {0, '4', POPT_ARG_VAL, &default_af_hint, AF_INET , 0, 0 }, {0, '6', POPT_ARG_VAL, &default_af_hint, AF_INET6 , 0, 0 }, #endif + {"apt-support", 0, POPT_ARG_NONE, &apt_support, 0, 0, 0 }, {0,0,0,0, 0, 0, 0} }; --- rsync-2.5.6/receiver.c.orig 2003-01-21 02:...
2008 Feb 15
4
Revised flags patch
...--executability preserve the file's executability\n"); rprintf(F," --chmod=CHMOD affect file and/or directory permissions\n"); #ifdef SUPPORT_ACLS @@ -473,6 +479,8 @@ static struct poptOption long_options[] {"perms", 'p', POPT_ARG_VAL, &preserve_perms, 1, 0, 0 }, {"no-perms", 0, POPT_ARG_VAL, &preserve_perms, 0, 0, 0 }, {"no-p", 0, POPT_ARG_VAL, &preserve_perms, 0, 0, 0 }, + {"fileflags", 0, POPT_ARG_VAL, &preserve_fileflags, 1, 0, 0 }...
2010 Jul 09
8
DO NOT REPLY [Bug 7565] New: --check-point=<TIME> +options.c.patch +generator.c.patch
...t;); rprintf(F," --inplace update destination files in-place (SEE MAN PAGE)\n"); rprintf(F," --append append data onto shorter files\n"); *************** *** 609,614 **** --- 611,617 ---- {"backup", 'b', POPT_ARG_VAL, &make_backups, 1, 0, 0 }, {"no-backup", 0, POPT_ARG_VAL, &make_backups, 0, 0, 0 }, {"backup-dir", 0, POPT_ARG_STRING, &backup_dir, 0, 0, 0 }, + {"check-point", 0, POPT_ARG_INT, &check_point, 0, 0, 0 }, {&quot...