[Dirvish] Exclude rules...

Paul Slootman paul at debian.org
Fri Sep 23 10:04:04 UTC 2011


On Fri 23 Sep 2011, Don Gould wrote:

> Do I just need to ....
> 
> tree: /var/www
> 
> xdev: true
> index: gzip
> image-default: %Y%m%d-%H%M
> 
> exclude:
>          var/cache/apt/archives
>          var/cache/man
>          tmp
>          var/tmp
>         -/var/www/sites/*/*/Mailboxs
>        +/var/www/sites/*/*/*

The excludes are relative to the tree root.
So not "-/var/www/sites/*/*/Mailboxs" but "- /sites/*/*/Mailboxs"
(note also the required space after the "-" !)

And do you really have a var/cache under your /var/www/ ?
It seems to me that this is a copy from a root config, so you can remove
the first 4 lines as well.

Additionally, the way the rules look now, I think the last + line isn't
needed as per default things are included anyway.


Paul


More information about the Dirvish mailing list