#869280 rsync -- --info=skip0 does not disable message: skipping non-regular file

Package:
rsync
Source:
rsync
Description:
fast, versatile, remote (and local) file-copying tool
Submitter:
Bastian Blank
Date:
2026-05-19 09:07:01 UTC
Severity:
normal
#869280#5
Date:
2017-07-22 11:34:25 UTC
From:
To:
rsync can disable specific messages on request.
--- a/generator.c
+++ b/generator.c
@@ -1651,9 +1651,11 @@
 	}

 	if (!S_ISREG(file->mode)) {
-		if (solo_file)
-			fname = f_name(file, NULL);
-		rprintf(FINFO, "skipping non-regular file \"%s\"\n", fname);
+		if (INFO_GTE(SKIP, 1)) {
+			if (solo_file)
+				fname = f_name(file, NULL);
+			rprintf(FINFO, "skipping non-regular file \"%s\"\n", fname);
+		}
 		goto cleanup;
 	}

Bastian

#869280#10
Date:
2026-05-19 09:05:58 UTC
From:
To:
Hello Bastian,
please give some more context to your ticket.

Is this a bug fix? What is the bug?
Is it a new feature? Describe the new behavior. Why it this feature
useful and relevant for other users?

Finally, in both cases, I suggest to contribute this to the upstream
project instead to Debian.

Regards,
Christian Buhtz