search for: exclude_list

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

2004 Apr 09
3
include/exclude bug in rsync 2.6.0/2.6.1pre1
...previously excluded patterns from another. This bug becomes apparent on noting that the 0 return code from check_exclude in the include case is now simply ignored in check_exclude_file (rather than preventing lists with lower precedence to be examined, as was the case in earlier versions): ... if (exclude_list && check_exclude(exclude_list, fname, is_dir)) return 1; if (local_exclude_list && check_exclude(local_exclude_list, fname, is_dir)) return 1; ... If you look at the equivalent section of code in 2.5.7, the behaviour is different (in the case of an included pattern, local_ex...
2003 Feb 16
1
rsync-exclude.patch.
...S_ISDIR(st->st_mode) ? "directory" : "file", - name, ent->pattern, + name, type, ent->pattern, ent->directory ? "/" : ""); } @@ -147,6 +148,7 @@ * LOCAL_EXCLUDE_LIST or the globals EXCLUDE_LIST. */ int check_exclude(char *name, struct exclude_struct **local_exclude_list, + struct exclude_struct **recur_local_exclude_list, STRUCT_STAT *st) { int n; @@ -156,21 +158,37 @@ /* never exclude '.', even if somebody does --exclude '*' */...
2002 Nov 11
0
Regular Expression support
...2.5.5.mod/: connection.o Common subdirectories: rsync-2.5.5/doc and rsync-2.5.5.mod/doc diff -u rsync-2.5.5/exclude.c rsync-2.5.5.mod/exclude.c --- rsync-2.5.5/exclude.c Mon Feb 18 14:10:28 2002 +++ rsync-2.5.5.mod/exclude.c Mon Nov 11 14:50:00 2002 @@ -31,7 +31,7 @@ static struct exclude_struct **exclude_list; /* build an exclude structure given a exclude pattern */ -static struct exclude_struct *make_exclude(const char *pattern, int include) +static struct exclude_struct *make_exclude(const char *pattern, int include, int regexp) { struct exclude_struct *ret; @@ -45,16 +45,25 @@ } else if (st...
2003 Jan 14
3
.rsync-/.rsync+ patch and --link-dest example
...Tue Dec 24 00:42:04 2002 +++ rsync-2.5.6cvsJ/flist.c Sat Jan 11 03:47:14 2003 @@ -39,6 +39,7 @@ extern int always_checksum; extern int cvs_exclude; +extern int rsync_exclude; extern int recurse; @@ -64,6 +65,7 @@ static char topsrcname[MAXPATHLEN]; static struct exclude_struct **local_exclude_list; +static struct exclude_struct **recur_local_exclude_list; static struct file_struct null_file; @@ -260,6 +262,9 @@ if (check_exclude(fname, local_exclude_list, st)) { return 1; } + if (check_exclude(fname, recur_local_exclude_list, st)) { + return 1; + } return 0; } @@ -799,8 +80...
2007 Jul 13
1
Beginner needs a guide
Hi, I'm trying to get rsync to use a list of directories and their contents to to another drive on a Windows XP machine. I tried the command rsync -rDPt --delete --include-from=c:\include_list.txt --exclude-from=c:\exclude_list.txt /cygdrive/d/source/ /cygdrive/e/backup But the trouble is that no matter what I put in the include_list file it always copies everything in source. I even tried having an empty include_list file and it still copied everything across! Can someone tell me the logic behind this and how to get...
2006 Apr 19
1
Logging rsync transfers
Hello I run rsync on a server and I backup our office PCs to it using cwRsync on Windows PCs. The command I use to backup these PCs is: rsync -vbalz --stats --backup-dir=/yesterday_backups/ --exclude-from="exclude_list.txt" --files-from="include_list.txt" --rsh="ssh" . username@mydomain.com:/path/to/folder On the server, I have the rsync service started at boot and it accepts connects when they are made using the above command. I think this is daemon mode, is that right? I do not have...
2001 Sep 30
0
Exclude sets generated with -C
...David diff -r -u --exclude=.o --exclude=rsync --exclude=configure --exclude=config.log /home/sits/orig/rsync-2.4.6/exclude.c ./exclude.c --- /home/sits/orig/rsync-2.4.6/exclude.c Wed Sep 6 13:46:43 2000 +++ ./exclude.c Sat Sep 29 21:45:53 2001 @@ -27,6 +27,10 @@ static struct exclude_struct **exclude_list; +/* Global CVS exclude list, set from cvs_ignore_list, ~/.cvsignore + and getenv("CVSIGNORE"). */ +static struct exclude_struct **global_cvs_exclude_list; + /* build an exclude structure given a exclude pattern */ static struct exclude_struct *make_exclude(char *pattern, int includ...
2008 Apr 08
6
lucreate error: Cannot determine the physical boot device ...
...success and got this: # lucreate -C c0d0s0 -n B85 ERROR: No such file or directory: cannot stat <c0d0s0> ERROR: cannot use <c0d0s0> as a boot device because it is not a block device Usage: lucreate -n BE_name [ -A BE_description ] [ -c BE_name ] [ -C ( boot_device | - ) ] [ -f exclude_list-file [ -f ... ] ] [ -I ] [ -l error_log-file ] [ -M slice_list-file [ -M ... ] ] [ -m mountPoint:devicePath:fsOptions [ -m ... ] ] [ -o out_file ] [ -s ( - | source_BE_name ) ] [ -x exclude_dir/file [ -x ... ] ] [ -X ] [ -y include_dir/file [ -y ... ] ] [ -Y include_...
2008 Dec 04
1
rsync Failure
...rver that does the backing up, is actually backed up by another server, which is not having any issues (leads me to believe that this is not an ssh connection issue). Command Used: rsync -vvv -a -e "ssh -i /etc/backup/some_id.rsa" --delete --numeric- ids --exclude-from=/etc/backup/exclude_list --log-file=/usr/local/bin/ rsync2.log --link-dest=../$LASTBACKUPDIR root@$HOSTNAME:/ $NEWBACKUPDIR I've added the -vvv and --log-file options while trying to debug this issue. Issue: rsync runs for while, but then it freezes up. Sits in this state for about 15 minutes until the connec...
2004 Jan 27
1
Differentiating debug messages from both sides
...s a patch. Let me know what you think. ..wayne.. -------------- next part -------------- --- exclude.c 20 Jan 2004 04:53:59 -0000 1.58 +++ exclude.c 27 Jan 2004 07:36:35 -0000 @@ -27,6 +27,7 @@ #include "rsync.h" extern int verbose; +extern char *who_am_i; struct exclude_struct **exclude_list; struct exclude_struct **local_exclude_list; @@ -102,7 +103,7 @@ void free_exclude_list(struct exclude_st struct exclude_struct **list = *listp; if (verbose > 2) - rprintf(FINFO,"clearing exclude list\n"); + rprintf(FINFO, "[%c] clearing exclude list\n", *who_am_i);...
2004 Mar 24
1
incorrect exclude list with -C
I just received this bug report on Debian's rsync package. I've verified it. The entry from the manpage: -C [...] Finally, any file is ignored if it is in the same directory as a .cvsignore file and matches one of the patterns listed therein. Here the patterns of a .cvsignore file is apparently used to exclude file outside the directory where the .cvsignore file is found. Any
2004 Apr 22
1
rsync problems from flist.c change
...c: --- rsync-2.6.0.orig/flist.c +++ rsync-2.6.0/flist.c @@ -871,7 +871,7 @@ if (cvs_exclude) { if (strlen(fname) + strlen(".cvsignore") <= MAXPATHLEN - 1) { strcpy(p, ".cvsignore"); - add_exclude_file(&exclude_list,fname,MISSING_OK,ADD_EXCL UDE); + add_exclude_file(&local_exclude_list,fname,MISSING_OK,AD D_EXCLUDE); // PS XXX } else { io_error |= IOERR_GENERAL; rprintf(FINFO, And in fact, reverting this change seems to...
2004 Feb 08
2
strange behaviour with -C
Hi! This problem gave me quite a headache tonight... I more or less have this source directory: hop@krautesel:/var/tmp$ ls -laR from/ from/: total 12 drwxrwxr-x 3 hop hop 4096 Feb 8 03:34 . drwxrwxrwt 6 root root 4096 Feb 8 03:34 .. drwxrwxr-x 2 hop hop 4096 Feb 8 03:18 CVS -rw-rw-r-- 1 hop hop 0 Feb 8
2009 Feb 18
3
Validation and ComboBox
I''m trying to make a ComboBox that can be typed into but only accepts entries that are already in the drop-down list. I hoped a combination of the CB_DROPDOWN style and a TextValidator with the FILTER_INCLUDE_LIST would make that happen, but the validator seems to be ignored. Is that combination supposed to do what I want? If so, please review the code below and let me know where my
2002 Aug 12
3
--include option
HI, I'm trying to have files to be included during rsync. I have the filesystem /stor/circuit_design/, with the following subdirectories as its contents: clock_speed fub_layout test_simulations pattern_flow I would only like to rsync the following 2 subdirectories to the destination machine: clock_speed fub_layout and they're contained in the file called files_included: # cat
2004 Jan 17
1
--delete-sent-files (AKA --move-files)
...ern int orig_umask; extern int preserve_hard_links; extern int protocol_version; @@ -558,6 +559,8 @@ void start_server(int f_in, int f_out, i io_start_multiplex_out(f_out); if (am_sender) { + if (need_messages_from_generator) + io_start_multiplex_in(f_in); if (!read_batch) { recv_exclude_list(f_in); if (cvs_exclude) @@ -623,6 +626,9 @@ int client_run(int f_in, int f_out, pid_ io_flush(FULL_FLUSH); exit_cleanup(status); } + + if (need_messages_from_generator) + io_start_multiplex_out(f_out); if (argc == 0) { list_only = 1; Index: options.c --- options.c 15 Jan 2004 17...
2004 Mar 10
4
HFS+ resource forks: WIP patch included
...*file; extern int delete_excluded; + struct file_struct *file_hfsrf; + extern char *hfs_mode; + /* f is set to -1 when calculating deletion file list */ file = make_file(fname, &flist->string_area, f == -1 && delete_excluded? SERVER_EXCLUDES @@ -831,8 +834,77 @@ local_exclude_list = last_exclude_list; return; } + + if ( file->basename[0] && S_ISREG(file->mode) && hfs_mode ) { + /** check for rsrc fork, and add if found */ + file_hfsrf = hfs_rsrc_fork(f,flist,file,fname); + if ( file_hfsrf ) { + flist->files[flist->count++] = file_hfsrf;...
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