why does rsync list files for one directory but not another

Jeff Orrok jeff at lxvi.net
Thu Nov 17 23:55:23 GMT 2005


Hi, I'm running rsync 2.5.7 on RHEL3 locally and 2.5.4 on RH7.3
remotely.  Below is a transcript of a session where rsync lists the
files that it will transfer for /usr/lib/courier-imap/etc but not for
/home/jeff.  Would someone tell me what I need to do to get it to work?

[root at anuurn root]# cat rsync.taurox.excludes
+ /etc
+ /etc/httpd**
+ /etc/postfix**
+ /etc/ppp**
+ /etc/pptpd.conf
+ /etc/pptp.d**
+ /etc/samba**
+ /etc/skel**
+ /home
+ /home/jeff**
+ /home/admin**
+ /root**
+ /usr
+ /usr/lib
+ /usr/lib/courier-imap
+ /usr/lib/courier-imap/etc**
- *

[root at anuurn root]# rsync -ane ssh taurox:/ /var/taurox/
--exclude-from=/root/rsync.taurox.excludes | grep imap
root/downloads/imap-2001a-1.72.0.i386.rpm
usr/lib/courier-imap/etc/authdaemonrc
usr/lib/courier-imap/etc/authdaemonrc.dist
usr/lib/courier-imap/etc/authmysqlrc
usr/lib/courier-imap/etc/authmysqlrc.dist
usr/lib/courier-imap/etc/imapd
usr/lib/courier-imap/etc/imapd-ssl
usr/lib/courier-imap/etc/imapd-ssl.dist
usr/lib/courier-imap/etc/imapd.cnf
usr/lib/courier-imap/etc/imapd.dist
usr/lib/courier-imap/etc/pop3d
usr/lib/courier-imap/etc/pop3d-ssl
usr/lib/courier-imap/etc/pop3d-ssl.dist
usr/lib/courier-imap/etc/pop3d.cnf
usr/lib/courier-imap/etc/pop3d.dist
usr/lib/courier-imap/etc/quotawarnmsg.example

[root at anuurn root]# rsync -ane ssh taurox:/ /var/taurox/
--exclude-from=/root/rsync.taurox.excludes | grep jeff

[root at anuurn root]# rsync -ane ssh taurox:/ /var/taurox/
--exclude-from=/root/rsync.taurox.excludes | grep -c jeff
0

[root at anuurn root]# ssh taurox 'ls /home/jeff'
3c0508900.jpg
3ff2c78.desc
3ff2c78.tif
Journal
Mail
MerchantAccountApp.msg
Projects
The taurox Server.rtf
admin
anuurn
bin
courier-imap_errors
downloads
entiremessage
in
johndoe1
librarybooks
local.csv
malf.log
message.desc
php.config
procmailrc.efax
public
public_html
rpm
src
studytext
xcart.info
xcart_fedex_issues




More information about the rsync mailing list