[Use a script with Samba]
Minh Dang-Recalt
minh.dang-recalt at akazi.com
Tue Feb 13 17:51:44 GMT 2001
Hello,
I wonder if i can create a script on my linux Box to copy a directory to
another Linux Box via Samba client ?
I'm thinking a script like that :
-------------
# bash shell
cd /home/test -> On the local Linux Machine
smbclient \\\\Linux2\\Shared password
cd /home/TOTO -> On the remote Linux box
put recurse * .
exit
-------------
Of course, it doesn't work.
Anyone has an idea to make it working ?
Thanks !
Minh
More information about the samba-ntdom
mailing list