Networker

Re: [Networker] Directive question - include only certain types

2009-09-28 17:14:18
Subject: Re: [Networker] Directive question - include only certain types
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 28 Sep 2009 21:09:57 +0000
On Tue, Sep 29, 2009 at 06:28:27AM +1000, Preston de Guise wrote:
> On 29/09/2009, at 05:57 , MIchael Leone wrote:

> >Would it be:
> >
> ><< H:\Users >>
> >       +skip:  .
> >       allow *.MP3
> >       allow *.WAV
> >etc etc etc
> >
> >or is that what the "forget" directive does? I'm not completely  
> >following
> >the Admin manual on this, and the examples don't show either "allow"  
> >or
> >"forget: with parameters, like the "skip" directive has ...
> 
> I was asked this only recently, and I don't think NetWorker is capable  
> of the finer control of "skip everything EXCEPT these file types" ...  
> while in theory the wildcards in the directives (e.g., skip: *.mp3)  
> are meant to support "shell wildcard usage" (or something along those  
> lines from the man page), I couldn't get any combination of "except/ 
> exclude" wildcards to work.

My assumption is that +skip: will stop examining from that point
forward.  So it will never see the contents to be able to not exclude
them.  I think replacing the skip with a null might work, but then
you're backing up all the other filenames, just not the contents.

-- 
Darren

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER