On Fri, 21 Feb 2003, Kerry Miller wrote:

> back to the linux box.  I don't know how to put it into a script though.  
> Here's what I've got:

smbclient is not inherently scriptable. You'd need to use expect to 
automate it; you might try autoexpect, to see if you can do it without 
having to learn a lot of expect yourswelf. 

A better approach might be to use smbmount to mount the share, copy your
files, and then unmount it. You could use plain bash for that.

-- 
"Of course I'm in shape! Round's a shape, isn't it?"



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to