[Dirvish] Confusion about excluding and including
vortex at versanet.de
Tue Apr 23 06:25:20 UTC 2019
-----BEGIN PGP SIGNED MESSAGE-----
sorry for the late answer. Due to Easter and very good weather, I
wasn't much at home.
On 19.04.19 11:41, Paul Slootman wrote:
> Note the "the first matching pattern is acted on"...
> So what you want is impossible, you will have to exclude the
> /media/* in every other config and remove it from the master.conf.
Ahh shoot, I hoped that the dirvish.conf could override the excludes
from the master.conf like it does with other settings like xdev.
This would be a nice feature to have in future versions – maybe by
letting dirvish put the vault's excludes/includes at the *top* of the
exclude list it gives to rsync, instead of the bottom like it is now?
Or even an option to toggle this, with the "bottom" mode as default to
avoid breaking existing dirvish solutions?
But until then (if ever), I'll have to work around that. I wanted to
avoid putting a general exclusion like for /media in *every* vault
only because one out of many that needs /media. The easiest way I can
think of at the moment is to mount the external media somewhere else
and clear the xdev setting in this particular dirvish.conf. Any other
Many thanks for helping me pin down the reason behind this effect.
"If you want to breed a particulary silly shaped dog, you can get two
normal shaped dogs and then get the silliest of their offspring and
breed those together and choose the silliest of their offspring until,
after a while, you have a completely ludicrous shaped dog."
– Lindybeige on Youtube: Breeding DOES affect humans
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
More information about the Dirvish