samba-bugs@samba.org
2007-Feb-06 15:55 UTC
DO NOT REPLY [Bug 4371] New: unable to rsync filenames with whitespace from remote source
https://bugzilla.samba.org/show_bug.cgi?id=4371 Summary: unable to rsync filenames with whitespace from remote source Product: rsync Version: 2.6.8 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: tim@thewunders.org QAContact: rsync-qa@samba.org When trying to rsync files located on a remote server using: rsync -av remote.domain.com:/path/to/files/with\ whitespace/ /path/to/local/destination The rsync fails with a message similar to: receiving file list ... rsync: link_stat "/path/to/files/with" failed: No such file or directory (2) rsync: link_stat "/root/whitespace/." failed: No such file or directory (2) done client: nothing to do: perhaps you need to specify some filenames or the --recur sive option? rsync error: some files could not be transferred (code 23) at main.c(723) Doing the transfer the other way works. For example: rsync -av /path/to/files/with\ whitespace/ remote.domain.com:/path/to/local/destination would copy the files properly. This is tested from CentOS 4.4 with rsync 2.6.3 and Fedora Core 4 and 6 using rsync 2.6.8. -- 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@samba.org
2007-Feb-06 17:29 UTC
DO NOT REPLY [Bug 4371] unable to rsync filenames with whitespace from remote source
https://bugzilla.samba.org/show_bug.cgi?id=4371 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #1 from wayned@samba.org 2007-02-06 11:28 MST ------- Please read the ADVANCED USAGE section of the man page where the interpretation of spaces in the remote args is explained. You can read it online, if you like: http://rsync.samba.org/ftp/rsync/rsync.html -- 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@samba.org
2007-Feb-06 17:43 UTC
DO NOT REPLY [Bug 4371] unable to rsync filenames with whitespace from remote source
https://bugzilla.samba.org/show_bug.cgi?id=4371 ------- Comment #2 from wayned@samba.org 2007-02-06 11:42 MST ------- One other suggestion for those times when you are scripting an rsync pull of arbitrary files where it is unknown if spaces (or other shell-interpreted characters) are present or not: the use of the --files-from option will pass the name(s) without any need for quoting. -- 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.
Seemingly Similar Threads
- Filenames with blanks
- DO NOT REPLY [Bug 6695] New: whitespace problem in directory paths; I know of no work-around
- DO NOT REPLY [Bug 6095] New: code 23 when files or directories disappear, instead of code 24.
- DO NOT REPLY [Bug 5388] New: wildcards and rsync 3.01+
- DO NOT REPLY [Bug 5763] New: rsync not working at above url