[Samba] Is it possible to write an "smbclient" automated script
Beast
beast at i6x.org
Fri Dec 23 07:04:25 GMT 2005
Pablo Graziano wrote:
> I'd like to write an automated smbclient script. Something simple, like:
> login
> cd to a certain directory
> copy that entire directory to client
> logout
>
> Is this possible, and how?
Why not use smbmount instead?
smbmount //svr/share /mnt/samba -o username=myuser,password=mypasswd
cp -r /mnt/samba/source /tmp/destination
--
--beast
More information about the samba
mailing list