https://bugzilla.samba.org/show_bug.cgi?id=5388

Summary: wildcards and rsync 3.01+
Product: rsync
Version: 3.0.2
Platform: x86
OS/Version: FreeBSD
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: support@reverse.net
QAContact: rsync-qa@samba.org


I recently upgraded to rsync 3.02 from 3.00 and noticed the following error
when attempting to rsync using wildcards. I am rsyncing on localhost using a
wildcard from a particular directory.

receiving file list ... rsync: link_stat "/66.225.223.*.html" (in mrtg) failed:
No such file or directory (2)
done

Number of files: 0
Number of files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 1
Total bytes sent: 4
Total bytes received: 6

sent 4 bytes received 6 bytes 20.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at main.c(1497)
[receiver=3.0.2]
receiving file list ... rsync: link_stat "/66.225.223.*-day.png" (in mrtg)
failed: No such file or directory (2)
done

[mrtg]
path = /var/www/htdocs/mrtg
uid = root
read only = yes

#!/bin/bash
/usr/local/bin/rsync -ltvud --stats \
localhost::mrtg/66.225.*.*.html /var/www/htdocs/mrtg/usage

/usr/local/bin/rsync -ltvud --stats \
localhost::mrtg/66.225.*.*-day.png /var/www/htdocs/mrtg/usage

This works fine in 3.0.0

Number of files: 251
Number of files transferred: 0
Total file size: 734829 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 4533
File list generation time: 0.003 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 26
Total bytes received: 4567

sent 26 bytes received 4567 bytes 9186.00 bytes/sec
total size is 734829 speedup is 159.99


Thank You.


--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html