Thanks again for your help Dave. The last thing I tried was actually as you
just suggested, sans the beginning "/", and it did not work. I've added the
"/" and we'll see how it works, though I thought I had already tried that as
well... 

I also added a link in /usr/local/etc to my exclude file in /etc, just in
case rsync is not finding it. If all else fails, there is always the
"-delete-excluded" option on the client, though I hate to copy files and
then delete them (if that even works). 

Gerald Gallagher

                -----Original Message-----
                From:   Dave Dykstra [mailto:[EMAIL PROTECTED]]
                Sent:   Monday, September 11, 2000 9:50 AM
                To:     Gerald Gallagher
                Cc:     '[EMAIL PROTECTED]'
                Subject:        Re: rsync not excluding

                On Mon, Sep 11, 2000 at 08:54:11AM -0400, Gerald Gallagher
wrote:
                > This is still not working - the directories (and their
files and
                > subdirectories) that are supposed to be excluded are still
being copied. 
                > 
                > Has anyone out there successfully set-up rsync to copy a
directory structure
                > while excluding some subdirectories and their nested
sub-subdirectories? 
                > 
                > Gerald Gallagher
                ...
                >Dave Dykstra wrote:
                >> The pathnames that the exclude algorithm has to work with
will not be the
                >> full path but instead the logical path based on the
module name.  Try
                >>                  /static_files/production/db_log/**
                >>                  /static_files/2000/data/** 
                >> 
                >> I'm pretty sure that will do it.


                I'm sorry, upon further investigation I think the module
names are also
                not part of the path name.  Try
                                    /production/db_log/**
                                    /2000/data/** 

                - Dave Dykstra


============================================================================
This message is intended only for the use of the Addressee(s) and may
contain information that is PRIVILEGED and CONFIDENTIAL. If you are not
the intended recipient, dissemination of this communication is prohibited.
If you have received this communication in error, please erase all copies
of the message and its attachments and notify [EMAIL PROTECTED]
immediately.
============================================================================


Reply via email to