which mask to use to prune a directory

Christian Neumann <[email protected]> Fri, 2 Jul 2004 16:55:36 +0200
Newsgroups gmane.comp.sysutils.backup.dar.libdar
Message-ID <20040702165536.62831e95@minerva>
Hi,
do the simple_path_mask or the exclude_dir_mask support wildcards
(?/*)? As far as I understood the libdar code, they do not. But as
dar's -P option supports wildcards... Which mask(s) uses dar to
implement the-P option? I thought of using two simple_masks (<dir> and
<dir>/*), but I am not sure if this is the right way. And does the -D
option work with this solution? Also, is there any way to include
wildcarded dirs (like include only config dirs: ".*") (I know that the
parent dirs up to the root path have to be included. Any convenient
solution?).

Regards,
Christian


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com