Amanda-Users

Re: Use of RegEx in exclude

2007-01-30 10:01:10
Subject: Re: Use of RegEx in exclude
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 30 Jan 2007 09:51:37 -0500
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 ;)

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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