Jeff Orrok
2005-Nov-17 23:55 UTC
why does rsync list files for one directory but not another
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@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@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@anuurn root]# rsync -ane ssh taurox:/ /var/taurox/ --exclude-from=/root/rsync.taurox.excludes | grep jeff [root@anuurn root]# rsync -ane ssh taurox:/ /var/taurox/ --exclude-from=/root/rsync.taurox.excludes | grep -c jeff 0 [root@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
Jeff Orrok
2005-Nov-18 05:04 UTC
why does rsync list files for one directory but not another
On Thu, 2005-11-17 at 16:55, Jeff Orrok wrote:> 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?uhhhh I found a cron job that had already pulled over the entire /home tree :"> For future reference, how many -v's does it take to get a file-by-file diagnostic (eg "taurox:/home/jeff/foo will not be copied because it is not newer than /var/taurox/home/jeff/foo")?