Question on --include-from option.

Loris Serena lserena at paddypower.com
Thu Aug 14 02:12:02 EST 2003


Hi Wayne...

OK, it works now.
So, would it be correct to say that the "source" is the path of the --include-from file?

Thanks again,

Loris


Wayne Davison wrote:

> On Wed, Aug 13, 2003 at 04:43:44PM +0100, Loris Serena wrote:
> > The command was actually split on two lines by the mailer! ;-(
>
> I know, that still doesn't give you a destination since the
> --include-from option is just a filter on the source.  If the
> ppukweb8:/tmp/loris is your actual destination, then you need to insert
> the source in front of it (it's assumed to be the source since it is the
> first arg on the line).
>
> > What I'm doing here is basically some testing with the --include-from
> > option.
>
> Have you read the manpage?  All include directives are relative to the
> source.  Like this:
>
> /tmp/rsync-include-file:
> + /testrsync1/
> + /testrsync2/
> + /testrsync3/
> - /*/
>
> rsync -azv -e ssh --stats --include-from=/tmp/rsync-include-file /tmp/loris/ ppukweb8:/tmp/loris
>
> > Plus, I'd like to push this rsync copy from one box to other six
> > boxes.  Is there a smart way of doing this simultaneously, or do I
> > have to script a for loop for every different destionation host?
>
> If the 6 boxes stay in lock step without ANY chance of divergence, you
> can use the batch processing (see the man page).
>
> ..wayne..

--
Loris Serena
Unix Systems Administrator
PaddyPower Bookmakers
Phone : +353-1-4049633               http://www.paddypowerplc.com
Mobile: +353-87-9683760              mailto:lserena at paddypower.com







Privileged, confidential and/or copyright information may be contained in this communication.  
This e-mail and any files transmitted with it are confidential and intended solely for the use 
of the individual or entity to whom they are addressed. If you are not the intended addressee, 
you may not copy, forward, disclose or otherwise use this e-mail or any part of it in any way 
whatsoever. To do so is prohibited and may be unlawful. If you have received this email in error 
please notify the sender immediately.

Paddy Power PLC may monitor the content of e-mail sent and received for the purpose 
of ensuring compliance with its policies and procedures.




More information about the rsync mailing list