From: Peter Van Lone (petervl_at_gmail.com)
Date: Mon Sep 11 2006 - 23:03:26 CEST
Message-ID: <68b791330609111403r2e4e16b4t7da2b45f4abe223a@mail.gmail.com> Date: Mon, 11 Sep 2006 16:03:26 -0500 From: "Peter Van Lone" <petervl@gmail.com> Subject: Re: [suse-sles-e] smbclient copy from linux box to windows
On 9/11/06, Black, Alain <ablack@bloodsystems.org> wrote:
>
> Here's what I use for a cron script.
>
> #!/usr/bin/ksh
>
> smbclient //ServerName/ShareName Password -U Domain/UserName <<EOF
>
> cd DirectoryToChangeInTo
> translate
> put FileName
> exit
> EOF
>
excellent.
do you really put the <<EOF at the end of the smbclient command line? Why?
and, what does the "translate" command do?
and, why the EOF at the very end?
I know, I know ... enuf with the questions!
peter
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com
This archive was generated by hypermail 2.1.7 : Mon Sep 11 2006 - 23:03:34 CEST