Skipping-non-regular-file message only when verbose
Chmouel Boudjnah
cboudjnah at squiz.net
Thu Apr 28 23:05:41 GMT 2005
Hello,
Is it possible to apply this patch :
--- generator.c~ 2005-04-29 08:55:43.000000000 +1000
+++ generator.c 2005-04-29 08:55:39.000000000 +1000
@@ -831,8 +831,9 @@
return;
if (!S_ISREG(file->mode)) {
- rprintf(FINFO, "skipping non-regular file \"%s\"\n",
- safe_fname(fname));
+ if (verbose > 1)
+ rprintf(FINFO, "skipping non-regular file \"%s\"\n",
+ safe_fname(fname));
return;
}
To only print the skipping non-regular file message when verbose > 1.
Cheers, Chmouel
--
Chmouel Boudjnah -- Squiz.net -- http://www.squiz.net/
More information about the rsync
mailing list