Displaying 5 results from an estimated 5 matches for "noexclud".
Did you mean:
noexcludes
2002 Dec 05
1
Patch to ignore exluded files.
...#39;s patch:
--- rsync-2.5.5/flist.c.orig 2002-03-14 15:20:20.000000000 -0600
+++ rsync-2.5.5/flist.c 2002-12-02 19:27:02.000000000 -0600
@@ -644,8 +644,8 @@
if (readlink_stat(fname, &st, linkbuf) != 0) {
int save_errno = errno;
- if ((errno == ENOENT) && copy_links && !noexcludes) {
- /* symlink pointing nowhere, see if excluded */
+ if ((errno == ENOENT) && !noexcludes) {
+ /* File or directory not found, see if excluded */
memset((char *) &st, 0, sizeof(st));
if (check_exclude_file(f, fname, &st)) {
/* file is excluded anyway, ignore si...
2002 Mar 28
1
rsync raising an IO error for an excluded file
...ver in the exclude-list, so I think rsync shouldn't care that it can't stat the file.
The code fragment responsible is
if (readlink_stat(fname, &st, linkbuf) != 0) {
int save_errno = errno;
if ((errno == ENOENT) && copy_links && !noexcludes) {
/* symlink pointing nowhere, see if excluded */
memset((char *) &st, 0, sizeof(st));
if (check_exclude_file(f, fname, &st)) {
/* file is excluded anyway, ignore silently */...
2002 Jul 24
0
couple of minor fixes to rsync 2.5.5
...ere is the diff:
--- flist.c.orig Mon Jul 8 17:48:12 2002
+++ flist.c Mon Jul 8 17:48:39 2002
@@ -644,7 +644,7 @@
if (readlink_stat(fname, &st, linkbuf) != 0) {
int save_errno = errno;
- if ((errno == ENOENT) && copy_links && !noexcludes) {
+ if ((errno == ENOENT) && !noexcludes) {
/* symlink pointing nowhere, see if excluded */
memset((char *) &st, 0, sizeof(st));
if (check_exclude_file(f, fname, &st)) {
The second problem appe...
2001 Nov 20
2
patch to enable faster mirroring of large filesystems
...dy
-------------- next part --------------
--- flist.c.orig Tue Sep 5 22:46:43 2000
+++ flist.c Fri Nov 9 12:01:56 2001
@@ -30,6 +30,7 @@
extern int cvs_exclude;
extern int recurse;
+extern int send_dirs;
extern int one_file_system;
extern int make_backups;
@@ -501,8 +502,8 @@
/* we use noexcludes from backup.c */
if (noexcludes) goto skip_excludes;
- if (S_ISDIR(st.st_mode) && !recurse) {
- rprintf(FINFO,"skipping directory %s\n",fname);
+ if (S_ISDIR(st.st_mode) && !recurse && !send_dirs) {
+ rprintf(FINFO,"make_file: skipping directory %s\n&q...
2003 Jan 14
4
specifying a list of files to transfer
...rs,
Andy
-------------- next part --------------
--- flist.c.orig Thu Mar 14 16:20:20 2002
+++ flist.c Fri Jan 10 11:10:58 2003
@@ -41,6 +41,7 @@
extern int cvs_exclude;
extern int recurse;
+extern int send_dirs;
extern int one_file_system;
extern int make_backups;
@@ -662,8 +663,8 @@
if (noexcludes)
goto skip_excludes;
- if (S_ISDIR(st.st_mode) && !recurse) {
- rprintf(FINFO, "skipping directory %s\n", fname);
+ if (S_ISDIR(st.st_mode) && !recurse && !send_dirs) {
+ rprintf(FINFO, "make_file: skipping directory %s\n", fname);
return NULL...