At 12/23/05 01:04, Beast wrote:
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

Wouldn't this transmit the password in the clear?

Eric Hines


There is no nonsense so errant that it cannot be made the creed of the vast majority by adequate governmental action.
        --Bertrand Russell

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to