include-from
tim.conway at philips.com
tim.conway at philips.com
Tue Jun 11 09:39:03 EST 2002
Let's analyze your commandline:
/usr/local/bin/rsync -av --include=/usr/local/mysql/bin/listado_images.txt
192.168.1.23::mysql_prueba
archivemode, verbose, including the things listed in /usr/local/mysql/bin/listado_images.txt, list what is available in the
module "mysql_prueba" from 192.168.1.23.
Without excluding *, you're saying "include all the stuff in the file, and
everything, too".
Pattern users: Does he also need to put the leading directories
explicitly in the includelist?
Of course, as constructed, your command will only list items, not actually
transfer (no destination specified).
Your patterns: "/datos/web/neweb/images/noticia41309_foto1N.jpg" - does that refer to
"<path to the module>/datos/web/neweb/images/noticia41309_foto1N.jpg"?
What I mean is, let's say your rsyncd.conf on 192.168.1.23 has a module defined like this
+++++++++++++++++++++++
[mysql_prueba]
path = /mysql/prueba
+++++++++++++++++++++++
and the file you want is /mysql/pruebadatos/web/neweb/images/noticia41309_foto1N.jpg
In that case, you've got it right.
You haven't specified exactly what the nature of the error is.
If it is the fact that nothing is transferred, that make sense, because
you're not asking for a transfer.
If it is the fact that you are getting more than specified in the include,
it's because you are implicitely including everything by leaving out
--exclude=*
If it is a case of getting nothing at all, you may not have an active
rsyncd on 192.168.1.23 with a module "mysql_prueba".
I hope that covers the bases. good luck.
Tim Conway
tim.conway at philips.com
303.682.4917 office, 3039210301 cell
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"
"Paco Martinez" <pmartinez at heraldo.es>
Sent by: rsync-admin at lists.samba.org
06/11/2002 04:14 AM
To: <rsync at lists.samba.org>
cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
Subject: include-from
Classification:
Estimated gurus.
I execute this sencente from a Server X to a Server Y
/usr/local/bin/rsync -av --include=/usr/local/mysql/bin/listado_images.txt
192.168.1.23::mysql_prueba
I'd like to rsync only files contained in listado_images.txt but I don't
get it.
Text of file listado_images.txt is
/datos/web/neweb/images/noticia41309_fotoLP.jpg
/datos/web/neweb/images/noticia41309_foto1N.jpg
I have attempt with
+ /datos/web/neweb/images/noticia41309_fotoLP.jpg
+ /datos/web/neweb/images/noticia41309_foto1N.jpg
But I don't get it.
Where is the problem ??
--
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list