> 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
|