N
nbauer
Guest
Hello all,
I have written this bash script that allows me to tar-ball my home directory and then use smbclient to upload it to my server ( sort of ). This script works fine on SCO, Debian Linux, Ubuntu, and OpenBSD, having used it on all of those a number of times.
Now I am trying to use it on OS 10.3 and the thing keeps bombing on me in this one section.
Heres the code
so heres whats going on. It connects to the share, then changes to the subdirectory I want it to go to. The part that keeps bombing is when it trys to use the put command in the script. For some reasons it does not like put or mput. Yet if I do all of it manually it works fine.
I have spent three days Googleing and testing all kinds of crap, but it still bombs on me. Any help would be appreciated.
Thanks in advance,
Norm
I have written this bash script that allows me to tar-ball my home directory and then use smbclient to upload it to my server ( sort of ). This script works fine on SCO, Debian Linux, Ubuntu, and OpenBSD, having used it on all of those a number of times.
Now I am trying to use it on OS 10.3 and the thing keeps bombing on me in this one section.
Heres the code
Code:
smbclient -l username \\\\server\\share -A /path/to/authenticationFile/ -c ; cd SubdirectoryOfShare ; put /local/file /remote/file; exit;
so heres whats going on. It connects to the share, then changes to the subdirectory I want it to go to. The part that keeps bombing is when it trys to use the put command in the script. For some reasons it does not like put or mput. Yet if I do all of it manually it works fine.
I have spent three days Googleing and testing all kinds of crap, but it still bombs on me. Any help would be appreciated.
Thanks in advance,
Norm