Not able to read the content of the file.
Ushank Khanna, Noida
ushank.khanna at hcl.in
Tue Jan 20 05:21:26 GMT 2009
Please provide me the example who to declare source directory with
--files-from command.
Thanks & Regards,
Ushank Khanna
-----Original Message-----
From: Ushank Khanna, Noida
Sent: Tuesday, January 20, 2009 10:44 AM
To: 'Matt McCutchen'
Cc: rsync at lists.samba.org
Subject: RE: Not able to read the content of the file.
Can you please provide me the example as well.
Thanks & Regards,
Ushank Khanna
-----Original Message-----
From: Matt McCutchen [mailto:matt at mattmccutchen.net]
Sent: Monday, January 19, 2009 10:42 PM
To: Ushank Khanna, Noida
Cc: rsync at lists.samba.org
Subject: Re: Not able to read the content of the file.
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.
--
Matt
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
More information about the rsync
mailing list