Newbie syntax question on --include-from option

Loris Serena lserena at
Fri Feb 14 06:54:39 EST 2003

Hello List,

I would like to run something like

rsync -azv -e ssh --stats --include-from=rsynclist.txt host-one:

and rsynclist.txt looks like

+ /export/home/user1/dir1/dir2/dir3/
+ /export/home/user1/dir2/dir3/dir4/
+ /export/home/user1/dir3/dir4/dir5/
+ /export/home/user1/dir4/dir5/dir6/
+ /export/home/user1/dir5/dir6/dir7/

Basically what  I am looking to achieve is NOT to specify a directory after the
semicolon after "host-one", because I want to sync files from the source box
EXACTLY to the same directory on the target box.

What is the correct command line syntax when I invoke rsync to get this working?

Thanks in advance


Loris Serena
Unix Systems Administrator
PaddyPower Bookmakers
Phone : +353-1-4049633     
Mobile: +353-87-9683760              mailto:lserena at

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