[Bug 2418] New: --files-from= does not seem to be implemented but
is in man rsync
samba-bugs at samba.org
samba-bugs at samba.org
Thu Mar 3 23:39:05 GMT 2005
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 at samba.org
ReportedBy: support at servelocity.net
QAContact: rsync-qa at samba.org
--files-from= does not seem to be implemented but is in man rsync
[root at 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 at raq2 tmp]#
However strangely it cares if the file exists
# rm /tmp/file
[root at 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 at 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.
More information about the rsync
mailing list