[Dirvish] Sample exclude list
hopkins.jenny at gmail.com
Sat Oct 28 12:04:02 UTC 2017
On 28 October 2017 at 12:17, Jenny Hopkins <hopkins.jenny at gmail.com> wrote:
> On 25 October 2017 at 09:38, Paul Slootman <paul at debian.org> wrote:
>> You probably also need some real excludes, otherwise these won't have
>> any effect (everything is included by default).
>> Presumably something like:
>> + /etc/
>> + /etc/**
>> + /backup/
>> + /backup/dirvish/
>> + /backup/dirvish/*/
>> + /backup/dirvish/*/dirvish/
>> + /backup/dirvish/*/dirvish/**
>> - /backup/dirvish/*/*
>> - /backup/*
>> - /*
>> Rules are evaluated in order. You might even need a "+ /" at the top.
> Thanks - I'll have a play about with a test directory.
Very pleased - have a file that does just what I want now.
It seems you have to add subdirectories or files *before* then
excluding everything else. The worst culprit for filling up disk
space unnecessarily are the hidden stuff in a users home directory
that change constantly, like firefox directories and imap mail folder
stuff, and also the server log files, - the above will now take care
It looks as though it could be condensed down a bit, maybe do the
adding then end with "- /"? And if there were a global variable
"$user" I could have instead of listing every system user that would
Thanks for the help.
More information about the Dirvish