Samba Script not completing

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy C. Reed
Dátum:  
Tárgy: 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/