Re: Silly script question - It worked!!!

2003-02-23 Thread Bret Hughes
On Sun, 2003-02-23 at 21:29, Kerry Miller wrote: > Thanks for all the help guys! I haven't tried the -c option for the > smbclient, but I got away from it altogether by just mounting the windows > share as a smbs filesystem. I've scripted it and let it run last night, it > seems to work just f

Re: silly script question

2003-02-23 Thread Anthony E. Greene
On 23-Feb-2003/10:48 -0500, Brian Hanks <[EMAIL PROTECTED]> wrote: >Check into the -c option for smbclient as I have successfully used it in >the past to accomplish this exact thing. Here is an example: > >smbclient server\\temp password -U username -c "prompt;cd dir;get >file" >> logfile.log

Re: RE: silly script question

2003-02-23 Thread Brian Hanks
: Patrick Nelson <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: silly script question Date: Fri, 21 Feb 2003 21:53:34 -0800 Reply-To: [EMAIL PROTECTED] Kerry Miller wrote: ->>>>

Re: silly script question

2003-02-21 Thread Matthew Melvin
On Fri, 21 Feb 2003 at 10:46pm (-0600), Kerry Miller wrote: > Ok, I'm a network guy, not a software guy. I'm even lousy at bash scripts, > but here's a question. > > I can get to a share from my windoze machine using smbclient and copy files > back to the linux box. I don't know how to put it

Re: silly script question

2003-02-21 Thread Gordon Messmer
Kerry Miller wrote: - I can get to a share from my windoze machine using smbclient and copy files back to the linux box. I don't know how to put it into a script though. Here's what I've got: smbclient //kmiller/temp -U username%password get quit Try it like this: sm

Re: silly script question

2003-02-21 Thread Todd A. Jacobs
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 lear

RE: silly script question

2003-02-21 Thread Larry Brown
Or better yet smbmount. Check man smbmount. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Patrick Nelson Sent: Saturday, February 22, 2003 12:54 AM To: '[EMAIL PROTECTED]' Subject: RE: si

RE: silly script question

2003-02-21 Thread Larry Brown
EMAIL PROTECTED] Behalf Of Patrick Nelson Sent: Saturday, February 22, 2003 12:54 AM To: '[EMAIL PROTECTED]' Subject: RE: silly script question Kerry Miller wrote: ->>>> Ok, I'm a network guy, not a software guy. I'm even lousy at bash scripts, but her

RE: silly script question

2003-02-21 Thread Patrick Nelson
Kerry Miller wrote: - Ok, I'm a network guy, not a software guy. I'm even lousy at bash scripts, but here's a question. I can get to a share from my windoze machine using smbclient and copy files back to the linux box. I don't know how to put it into a script though. Here