Hello List.
I am using rsync to pull html files from a shared drive to 2 web server
boxes to keep the files synchronized.

However, I have a few files I do not want rsync to copy over because they
contain information specific (IP address) to the box hosting them.

Rsync seems to intermittently ignore the exclude statement and copies them
from time to time.  Is there a way to absolutely prevent rsync from copying
a specific file in a directory where every file but that one is to be
copied?

My rsync statement complete with exclude looks like this:

rsync -avz --delete --update --stats
--exclude=/library/webserver/documents/domains/mydomain/file_to_exclude.html
-e ssh [EMAIL PROTECTED]:/Web_Files/Domains/source_of_files/
/library/webserver/documents/domains/destination_dir_of_files/





-- 
View this message in context: 
http://www.nabble.com/rsync-fails-to-exclude...-sometimes--tp16146668p16146668.html
Sent from the Samba - rsync mailing list archive at Nabble.com.

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

Reply via email to