[Use a script with Samba]

Yacketta,Ronald J YackettaRJ at worldkitchen.com
Tue Feb 13 17:58:04 GMT 2001


why would you want todo this?
you could use rsync, ftp, ncftp or a mired of other utilities
that would make life easier on your

Ron

=>-----Original Message-----
=>From: Minh Dang-Recalt [mailto:minh.dang-recalt at akazi.com]
=>Sent: Tuesday, February 13, 2001 12:52 PM
=>To: samba-ntdom at us5.samba.org
=>Subject: [Use a script with Samba]
=>
=>
=>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