Amanda-Users

RE: Use of RegEx in exclude

2007-01-30 10:26:18
Subject: RE: Use of RegEx in exclude
From: "Lars Monsees" <l.monsees AT atlantisgmbh DOT de>
To: <amanda-users AT amanda DOT org>
Date: Tue, 30 Jan 2007 16:03:37 +0100

> On Mon, Jan 29, 2007 at 05:45:10PM +0100, Lars Monsees wrote:
>> 
>> (snip)
>> 
> ...
>> But, as Jean-Louis said, regex is not supported for tar, so I guess
>> my only options are to specify every domains´ httpdocs dir
separately
>> (for 30+ domains and don´t forget it for new domains) --> bad, bad,
>> bad 
>> 
> 
> But JLM did not say that all pattern matching unsupported, only
> that tar uses shell globbing style pattern matching.  Might
> you be able to do something like ./*/[!h][!t]*
> 
> Gotta get that ISP to all includes ;)

aaaha... [] is supported and therefore my test was ok. (I was just
wondering why that worked =)

I´ll give this a try. Is it correct that "*, ?, and character ranges
expressed with []" are supported?


Thx,
Lars



<Prev in Thread] Current Thread [Next in Thread>