samba-bugs at samba.org
2010-Jun-18 08:40 UTC
DO NOT REPLY [Bug 7523] New: rsync exclude file ignores spaces
https://bugzilla.samba.org/show_bug.cgi?id=7523
Summary: rsync exclude file ignores spaces
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: dfwjim2000 at yahoo.com
QAContact: rsync-qa at samba.org
Using the FAQ page at rsync, using tips on the commandline with --excludehaving
spaces in the file-spec pattern for --exclude, seem to be ignored by
--exclude-from inside the exclude file. I used all types of space escaping
techniques: questionmark, single \, the triple \\\, combinations of single
&
double quoting.
the only way I can get the path to exclude is to cut it off at the first
instance of space with a *, however this may cut off similarly named
directories. This needs to be fixed.
--
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.
samba-bugs at samba.org
2010-Jun-19 05:28 UTC
DO NOT REPLY [Bug 7523] rsync exclude file ignores spaces
https://bugzilla.samba.org/show_bug.cgi?id=7523
wayned at samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Comment #1 from wayned at samba.org 2010-06-19 00:28 CST -------
This works fine. There is no need for any escaping inside an exclude-from file
since spaces have no special meaning (apart from the plus/minus prefixes that
are separated by a single space).
--
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.
Apparently Analagous Threads
- DO NOT REPLY [Bug 4870] New: --link-dest results in errors for some paths containing spaces
- DO NOT REPLY [Bug 6043] New: rsync ignores -x for some file systems
- DO NOT REPLY [Bug 3979] New: writefd_unbuffered failed to write 4092 bytes phase send_file_entry broken pipe
- DO NOT REPLY [Bug 7450] New: When a single file is specified, the exclusion of it in the exclude-from file is ignored
- DO NOT REPLY [Bug 3778] New: rsync triggers ( pre/post xter scripts )