Kerry Miller wrote:
----------------->>>>
I can get to a share from my windoze machine using smbclient and copy files back to the linux box. I don't know how to put it into a script though. Here's what I've got:


smbclient //kmiller/temp -U username%password
get <filename>
quit


Try it like this:

smbclient //kmiller/temp -U username%password  <<EOF
get <filename>
EOF

Or, to avoid exposing your passwords to 'ps':

USER=username%password
export USER
smbclient //kmiller/temp <<EOF
get <filename>
EOF





--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to