Not able to read the content of the file.

Matt McCutchen matt at
Mon Jan 19 17:12:20 GMT 2009

On Mon, 2009-01-19 at 16:22 +0530, Ushank Khanna, Noida wrote:
> I want to read the list of files from txt file. I am using –
> files-from=myFile.txt command but I am getting the error. Please tell
> me how to read the list of files from other file.
> I am using this below Rsync command:-
> rsync -r -R -e “ ssh " --rsync-path=/usr/bin/rsync
> --files-from=myFile.txt /destination
> myFile.txt contain the name of files with path.

> rsync error: syntax or usage error (code 1) at options.c(1447)
> [client=2.6.8]

With --files-from, you still have to specify a source directory from
which to interpret the paths in the file.  See the examples in the
description of --files-from in the man page.


More information about the rsync mailing list