Re: exclude error "cannot match" but dir exists

David Precious <[email protected]>
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
On Wed, 13 May 2020 09:41:31 -0500
RL <[email protected]> wrote:

> The commands that fail: (slight variations of wildcards and quotes
> and a relative path. The first example is the cleanest and simplest.
> The last example is using ** and it also fails.)
> 
> rufus@Air-PC:~/WK> rdiff-backup -v3
> --include /home/rufus/WK/testin/dummy
> --exclude /rufus/home/WK/testin/dir3   /home/rufus/WK/testin    /home/rufus/WK/testout2
> [...]
> Fatal Error: Fatal Error: The file specification
> 'b'/rufus/home/WK/testin/dir3'' cannot match any files in the base
> directory 'b'/home/rufus/WK/testin'' Useful file specifications begin
> with the base directory or some pattern (such as '**') which matches
> the base directory.


It's telling you what the problem is.

Look again at the paths - /home/rufus vs /rufus/home.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.