search for: modify_window

Displaying 20 results from an estimated 30 matches for "modify_window".

2003 Oct 03
2
Cygwin/rsync Hang Problem Testing Results
People of cygwin & rsync, I recently attempted to get cygwin and rsync working to solve a backup/mirroring need in my computer life. Well, as you might guess, I ran into a little but of trouble. Strangely enough, rsync seemed to be regularly hanging when I attempted to do a "get" (sycronize a remote to a local dir). Well, considering I want to automate this, that was not going
2004 Mar 17
1
setgid on directories
...plete since the option doesn't get passed to a remote call. If there's any interest in adding this to rsync, I can try to figure out how to pass the option. --- generator.c Tue Dec 23 20:14:16 2003 +++ ../rsync-2.6.0.gsa/generator.c Thu Feb 12 12:16:11 2004 @@ -41,6 +41,7 @@ extern int modify_window; extern char *compare_dest; extern int link_dest; +extern int setgid_dirs; /* choose whether to skip a particular file */ @@ -557,6 +558,11 @@ them. This is then fixed after the files are transferred */ if (!am_root && S_ISDIR(file->mode)) {...
2024 Mar 18
0
[PATCH] add option to skip files based on age/mtime
...->modtime < min_age) { + if (INFO_GTE(SKIP, 1)) { + if (solo_file) + fname = f_name(file, NULL); + rprintf(FINFO, "%s is under min-age\n", fname); + } + goto cleanup; + } + if (update_only > 0 && statret == 0 && file->modtime - sx.st.st_mtime < modify_window) { if (INFO_GTE(SKIP, 1)) rprintf(FINFO, "%s is newer\n", fname); @@ -2156,9 +2175,13 @@ void check_for_finished_files(int itemizing, enum logcode code, int check_redo) if (check_redo && (ndx = get_redo_num()) != -1) { OFF_T save_max_size = max_size; OFF_T...
2002 Mar 08
1
[PATCH][RFC] space saving incrementals
...============================================================ RCS file: /cvsroot/rsync/generator.c,v retrieving revision 1.33 diff -u -r1.33 generator.c --- generator.c 7 Feb 2002 16:36:12 -0000 1.33 +++ generator.c 7 Mar 2002 20:56:02 -0000 @@ -42,6 +42,8 @@ extern int always_checksum; extern int modify_window; extern char *compare_dest; +extern int compare_perms; +extern int link_dest; /* choose whether to skip a particular file */ @@ -51,6 +53,15 @@ if (st->st_size != file->length) { return 0; } + if (compare_perms) { + if((st->st_mode & ~_S_IFMT) != (file->mode & ~_S...
2003 Oct 18
0
Added functionality --compare-file and --compare-auto
...y Martin Pool <mbp@samba.org> + Copyright (C) 2003, Andy Henson, Zexia Access Ltd This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -41,6 +42,8 @@ extern int always_checksum; extern int modify_window; extern char *compare_dest; +extern char *compare_file; +extern int compare_auto; extern int link_dest; @@ -357,29 +360,36 @@ fnamecmp = fname; - if ((statret == -1) && (compare_dest != NULL)) { - /* try the file at compare_dest instead */ + if ((statret == -1) && compa...
2002 Aug 02
1
[patch] --link-dest
...=========================================================== RCS file: /cvsroot/rsync/generator.c,v retrieving revision 1.44 diff -u -r1.44 generator.c --- generator.c 31 Jul 2002 21:20:07 -0000 1.44 +++ generator.c 3 Aug 2002 00:08:47 -0000 @@ -41,6 +41,7 @@ extern int always_checksum; extern int modify_window; extern char *compare_dest; +extern int link_dest; /* choose whether to skip a particular file */ @@ -50,6 +51,15 @@ if (st->st_size != file->length) { return 0; } + if (link_dest) { + if((st->st_mode & ~_S_IFMT) != (file->mode & ~_S_IFMT)) { + return 0; + } +...
2002 Apr 18
5
mixed case file systems.
I am having trouble with rsync when I am trying to synchronize a Windows NT volume mounted with smb_fs (FreeBSD) and a unix volume which is also exported with Samba. There are instances where the DOS short name on the NT volume ends up as upper case and then doesn't match filenames which are used in the unix volumes which have been exported by Samba. I don't know if this is a Samba
2002 May 04
1
A simpler move-files patch
...to rsync.yo has already been applied. Let me know what you think. ..wayne.. ---8<------8<------8<------8<---cut here--->8------>8------>8------>8--- Index: options.c --- save/options.c Sat May 4 11:22:22 2002 +++ options.c Sat May 4 11:27:17 2002 @@ -86,6 +86,7 @@ int modify_window=0; #endif int blocking_io=-1; +int move_files=0; /** Network address family. **/ @@ -240,6 +241,7 @@ rprintf(F," --delete-after delete after transferring, not before\n"); rprintf(F," --ignore-errors delete even if there are IO errors\n");...
2003 Nov 05
1
--link-dest
...s patch removes those assumptions allowing mortal users to use --link-dest for back ups. (I think... I didn't look at the large picture.) Joe *** generator.c Thu Aug 29 09:44:55 2002 --- ../generator.c Tue Nov 4 09:12:59 2003 *************** *** 42,47 **** --- 42,50 ---- extern int modify_window; extern char *compare_dest; extern int link_dest; + extern int preserve_perms; + extern int preserve_uid; + extern int preserve_gid; /* choose whether to skip a particular file */ *************** *** 51,63 **** if (st->st_size != file->length) { return 0;...
2001 Oct 31
1
Rsync time syncing problem
Hi All, I hope someone can help me. We use Rsync to transfer files to and from our Australian and US server and we are experiencing files being overwritten and a few files disappearing (their contents disappear). I have setup ntp on each machine pointing to the same ntp server and set the hwclock to utc. We have found that the files on the US server are x:xx:01 secs and the AU server is
2002 Sep 27
2
Rsync synchronizes unchanged files
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I wish to use rsync to synchronize a whole fat32 (MSWindows) partition mounted into a linux system. I run rsync from linux. The problem is rsync synchronizes most of the data even if the data hasn't changed since the original image was made. I used the -avz parameters to do the backup and the same for restoration. Also I've tried just -rvz. It
2003 Oct 01
1
PATCH: option to ignore case in filenames
...; + return cf((*f1)->basename, (*f2)->basename); + return cf(f_name(*f1), f_name(*f2)); } ===== options.c 1.1 vs edited ===== --- 1.1/rsync/options.c Thu Feb 13 11:51:39 2003 +++ edited/options.c Tue Sep 30 18:16:47 2003 @@ -83,6 +83,7 @@ int ignore_errors=0; int modify_window=0; int blocking_io=-1; +int ignore_case=0; /** Network address family. **/ @@ -207,6 +208,7 @@ rprintf(F," -v, --verbose increase verbosity\n"); rprintf(F," -q, --quiet decrease verbosity\n"); rprintf(F," -c, --checksum...
2003 Nov 17
0
[PATCH] --source-filter && --dest-filter for rsync 2.5.6
...mining if a file should be transferred\n"); + rprintf(F," --times-only only use file modification time when determining if a file should be transferred\n"); rprintf(F," --modify-window=NUM Timestamp window (seconds) for file match (default=%d)\n",modify_window); rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n"); rprintf(F," --compare-dest=DIR also compare destination files relative to DIR\n"); @@ -270,6 +274,8 @@ rprintf(F," --bwlimit=KBPS limit I/O bandwidth, KByte...
2005 Jan 05
1
rsync filename heuristics
...); > +} > diff -urN rsync-2.5.4/generator.c rsync-2.5.4-fuzzy/generator.c > --- rsync-2.5.4/generator.c 2002-02-08 03:36:12.000000000 +1100 > +++ rsync-2.5.4-fuzzy/generator.c 2002-04-03 17:00:06.000000000 +1000 > @@ -42,11 +42,12 @@ > extern int always_checksum; > extern int modify_window; > extern char *compare_dest; > +extern int fuzzy; > > > /* choose whether to skip a particular file */ > static int skip_file(char *fname, > - struct file_struct *file, STRUCT_STAT *st) > + struct file_struct *file, const STRUCT_STAT *st) > { > i...
2023 May 17
1
[PATCH] Add --omit-{device,special}-times options
...POPT_ARG_VAL, &omit_device_times, 0, 0, 0 }, + {"omit-special-times",0, POPT_ARG_VAL, &omit_special_times, 1, 0, 0 }, + {"no-omit-special-times",0, POPT_ARG_VAL, &omit_special_times, 0, 0, 0 }, {"modify-window", '@', POPT_ARG_INT, &modify_window, OPT_MODIFY_WINDOW, 0, 0 }, {"super", 0, POPT_ARG_VAL, &am_root, 2, 0, 0 }, {"no-super", 0, POPT_ARG_VAL, &am_root, 0, 0, 0 }, @@ -2815,6 +2821,10 @@ void server_options(char **args, int *argc_p) args[ac++] = "--size-only";...
2003 Sep 14
2
rsync error: error in rsync protocol data stream (code 12) at io.c(463)
Hi, I'm having a problem rsyncing one file (since I signed it). It seems that the content of a file is able to cause problems in the protocol. building file list ... 28820 files to consider apt/packages/avifile/ apt/packages/avifile/avifile-0.7.34-1.dag.rh90.i386.rpm rsync: error writing 4 unbuffered bytes - exiting: Broken pipe rsync error: error in rsync protocol data stream (code
2002 Mar 22
1
[PATCH] --link-dest option
...========================================================== RCS file: /cvsroot/rsync/generator.c,v retrieving revision 1.37 diff -u -r1.37 generator.c --- generator.c 19 Mar 2002 20:16:42 -0000 1.37 +++ generator.c 21 Mar 2002 23:31:26 -0000 @@ -41,6 +41,7 @@ extern int always_checksum; extern int modify_window; extern char *compare_dest; +extern int link_dest; /* choose whether to skip a particular file */ @@ -50,6 +51,15 @@ if (st->st_size != file->length) { return 0; } + if (link_dest) { + if((st->st_mode & ~_S_IFMT) != (file->mode & ~_S_IFMT)) { + return 0; + } +...
2005 Apr 25
2
How about a --min-size option, next to --max-size
There's a rather old bug report in Debian's bug tracking system (see http://bugs.debian.org/27126) about wanting to be able to specify the maximum file size, as well as the minimum file size. Here's the text: Sometimes, it's useful to specify a file size range one is interested in. For example, I'd like to keep an up-to-date mirror of Debian, but I currently
2004 Apr 27
1
[PATCH] Inplace option for rsync
...quot;, (double)offset,(double)j,(double)i,sum); diff -Naur rsync-2.6.1pre2/options.c rsync-inplace/options.c --- rsync-2.6.1pre2/options.c 2004-04-18 03:07:23.000000000 +1000 +++ rsync-inplace/options.c 2004-04-21 11:45:27.000000000 +1000 @@ -91,6 +91,7 @@ int modify_window = 0; int blocking_io = -1; int checksum_seed = 0; +int inplace = 0; unsigned int block_size = 0; @@ -231,6 +232,7 @@ rprintf(F," --backup-dir make backups into this directory\n"); rprintf(F," --suffix=SUFFIX backup suffix (default %s w/o --ba...
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch? Thanks for the reminder. I've just committed Jos's rsync+ patch onto the "branch_mbp_rsyncplus_merge" branch. If it works OK and nobody screams I will move it across onto the main tree tomorrow or Wednesday. I see the patch doesn't add documentation about the new options to the man page, so we should fix that in the future.