Re: Excluding whole directories
Andrew Groom <[email protected]> Tue, 14 Feb 2006 11:15:53 +1300
| Newsgroups | gmane.comp.web.sitecopy |
|---|---|
| Message-ID | <[email protected]> |
Hi Joe, False alarm - that "exclude .svn" did work. I did a sitecopy -l and it reported a whole lot of .svn/* files, but these were files to be *deleted* from the remote site that had previously been uploaded. Thanks again for your help. Sitecopy is very cool, btw :-) Cheers, Andrew. Joe Orton wrote: > On Tue, Feb 14, 2006 at 08:21:53AM +1300, Andrew Groom wrote: >>> If you use "exclude .svn", it will do exactly that; read the man page >>> for the difference between exclude and ignore ;) >> Well, that partially worked in that it excluded the top level .svn >> directory but not .svn directories below the top level. For example, if >> my site has: >> >> .svn >> /subdir1/.svn >> /subdir2/.svn >> /subdir2/anotherlevel/.svn >> >> then only the top level one is excluded. I guess what I'm looking for is >> a sort of "exclude-name" directive. Or am I missing something in forming >> the right exclude pattern ? Any help much appreciated. > > If the exclude pattern does not have a leading slash it is applied when > each local directory is scanned. Did you use "exclude .svn" verbatim? > Can you post the complete rcfile entry you're using? And what version > of sitecopy? > > Regards, > > joe -- ----------------------------------- Reurbanise - Urban Sustainability ph: (03) 3528 055, mobile: 025 992 569 http://www.reurbanise.co.nz _______________________________________________ sitecopy maillist - [email protected] http://dav.lyra.org/mailman/listinfo/sitecopy