On Mon, Aug 11, 2003 at 05:22:26PM +0200, [EMAIL PROTECTED] wrote:
> Anybody who remembers how this script was set up ? 
> 
> 
> Jon LaBadie <[EMAIL PROTECTED]>
> 11/08/2003 16:23
>  
>         To:     [EMAIL PROTECTED]
>         cc: 
>         Subject:        Re: smbtar
> 
> 
> On Mon, Aug 11, 2003 at 03:47:30PM +0200, [EMAIL PROTECTED] 
> wrote:
> > Any chance I can create a wrapper script around smbclient ? 
> > (like I do with gnutar )
> > 
> 
> At least on list member, maybe 18 months ago, did that to implement
> a multi-file exclude feature.  Amanda, as distributed, only one file
> can be specified as being excluded when using samba.
> 

If you mean the logic of multiple excludes, they were passed as a file
containing the list (as per exclude list or exclude append) and the
script converted the list into command line args.  Something like:

   ExcludeListFile=$???         # some cmd line arg
   ExcludeList=

   for Next in $ExcludeListFile
   do
        ExcludeList="$ExcludeList $Next"
   done

Then $ExcludeList was used on the real smbclient command line after
the "X" option, I think as the last args on the cmd line.
-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to