samba-bugs@samba.org
2005-Mar-03 23:42 UTC
[Bug 2418] New: --files-from= does not seem to be implemented but is in man rsync
https://bugzilla.samba.org/show_bug.cgi?id=2418
Summary: --files-from= does not seem to be implemented but is in
man rsync
Product: rsync
Version: 2.6.2
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: minor
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: support@servelocity.net
QAContact: rsync-qa@samba.org
--files-from= does not seem to be implemented but is in man rsync
[root@raq2 tmp]# rsync -av -e ssh --files-from=/tmp/file 85.8.129.30: .
rsync: on remote machine: --files-from=-: unknown option
rsync error: syntax or usage error (code 1) at main.c(1087)
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)
[root@raq2 tmp]#
However strangely it cares if the file exists
# rm /tmp/file
[root@raq2 tmp]# rsync -av -e ssh --files-from=/tmp/file 85.8.129.30: .
failed to open files-from file /tmp/file: No such file or directory
rsync error: error in file IO (code 11) at options.c(753)
[root@raq2 tmp]#
As an alternative I tried using --include-from=/tmp/file but then if I put /root
in the file even with the -R option it does not preserve the directory structure
but put alls the subdirectories in root just into the local destination
directory
I had success instead with multiple --exclude= statements
Hope this helps and I haven't wasted anyones time :(
--
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
- Odd login issue [early Samba]
- SCM_RIGHTS problem with openssh-3.8p1 build on Cobalt Raq2
- [Bug 311] New: Compile fails on MIPS Linux (Cobalt Raq2) - SCM_RIGHTS undeclared
- Problem with openssh on linux 2.0.34 mips
- [Bug 2418] New: sftp-server connection closed upon openssh6.8P1 upgrade
