Hi Loris,

I believe you will need to add a trailing slash to each line to get the contents 
within.

Max

-----Original Message-----
From: "Loris Serena"<[EMAIL PROTECTED]>
Sent: 8/13/03 7:15:40 AM
To: "[EMAIL PROTECTED]"<[EMAIL PROTECTED]>
Subject: Question on --include-from option.

Hello list,

I am running rsync 2.5.5 on some Solaris 7 and 8 boxes.

I'd like to sync different directories from one box to another.

This is my include file:

ppukweb2% more rsync-include-file
/tmp/loris/testrsync1
/tmp/loris/testrsync2
/tmp/loris/testrsync3

This is the command I run:

rsync -azv -e ssh --stats --include-from=/tmp/rsync-include-file
ppukweb8:/tmp/loris

and this is the output I get:

ppukweb2% rsync -azv -e ssh --stats
--include-from=/tmp/rsync-include-file ppukweb8:/tmp/loris
receiving file list ... done
drwxr-xr-x        512 2003/08/13 12:15:01 loris
drwxr-xr-x        512 2003/08/13 12:15:01 loris/testrsync1

Number of files: 2
Number of files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 79
Total bytes written: 97
Total bytes read: 95

wrote 97 bytes  read 95 bytes  128.00 bytes/sec
total size is 0  speedup is 0.00
ppukweb2%

Basically, nothing gets tranferred from ppukweb2 to ppukweb8.

Can anybody see what I'n doing wrong?

Thanks in advance

Loris

--
Loris Serena
Unix Systems Administrator
PaddyPower Bookmakers
Phone : +353-1-4049633               http://www.paddypowerplc.com
Mobile: +353-87-9683760              mailto:[EMAIL PROTECTED]






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.

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to