[Samba] Executing smbclient in batch

Giovanni Cambria cambria at sisted.it
Wed Mar 7 15:28:07 GMT 2007


Hi,

I need to put a couple of files on a W2K share from my linux box.
The file names are like 'foo-XXXX' and 'foo-XXXX.par' and XXXX is a 8-digit 
random-generated number, the same for both files.
Because I need to execute in batch this copy, I have to use -c 'mput foo-*', 
how can I avoid the request of 'y' that I receive from the prompt of 
smbclient?

Thanks
Giovanni 



-- 
Nessun virus nel messaggio in uscita.
Controllato da AVG.
Versione: 7.5.447 / Database dei virus: 268.18.7/713 - Data di rilascio: 07/03/07 9.24



More information about the samba mailing list