Samba Script not completing

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: Jeremy C. Reed
Data:  
Temat: Samba Script not completing
On Tue, 15 Jul 2003 wrote:

> Here is the batch file in question:


What is your definition of a batch file?

> smbclient \\\\servername\\sharename -U <username> -N
> sleep 2
> put deleteme testagaina11
> quit
> exit


If you want to do this with a shell, do something like:

( sleep 2 ; echo 'put deleteme testagaina1' ; echo 'quit' ) |
smbclient \\\\servername\\sharename -U <username> -N



Jeremy C. Reed
http://www.reedmedia.net/