On Mon, Apr 02, 2001 at 06:40:01PM -0400, Magdalena Hewryk wrote:
> > You have to include a parent directory in order to include a
> > file. Is it just that you want to exclude all the other files in /tmp?
> > Using /tmp/* in outfilelist should work for that.
> >
> > - Dave Dykstra
> >
>
> Dave,
> When I use /tmp/* in my excludefile, it works fine, but I need to exclude
> each tmp directory and include index.html and content.html only.
>
> e.g. for exclusion:
> /tmp
> profiles/tmp
> profiles/advce_for/tmp
> new/tmp
> news/new/tmp
>
> excudelist
> ==========
> tmp/*
>
> includelist
> ===========
> content.html
> index.html
>
> =---I am getting this result:
> ONLY /tmp is excluded with index.html and content.html mirrored anyway.
> (good)
> Other ../tmp directories are mirror completely, not just index.html and
> content.html files. (bad result)
I think adding '**/tmp/*' to your excludelist should do it.
- Dave