On 16 May 2015 at 01:19, Craig Skinner wrote:
>
> I used to have a script create batch files in /tmp,
> each with the full name of the incremental dump file to sftp.
>
> But I've found rdist. (OpenBSD uses ssh by default.)
>
> Look at rdist(1) EXAMPLES section, &
> http://www.benedikt-stockebrand.
Hello,
Am 16.05.2015 um 01:07 schrieb jungle Boogie:
I want to upload a file automatically with a cron job so I'm using the -b flag.
% sftp jungle@host
Connected to host.
sftp> cd home/jungle
sftp> put file_*.csv
Uploading file_foo2015-05-15.csv to /usr/home/jungle/file_foo2015-05-15.csv
fil
On 2015-05-15 Fri 20:58 PM |, Barry Grumbine wrote:
>
> I have never used sftp, but from the man page it looks like the sftp
> commands need to be in a separate file.
Yes.
I used to have a script create batch files in /tmp,
each with the full name of the incremental dump file to sftp.
But I've
Hi Barry,
On 15 May 2015 at 20:58, Barry Grumbine wrote:
> Hi,
>
> I have never used sftp, but from the man page it looks like the sftp
> commands need to be in a separate file. Something like:
>
> fetch2.sh:
> #!/bin/sh
> sftp -b /home/jungle/batchfile jungle@host
>
> /home/jungle/batchfile:
> cd
Hi,
I have never used sftp, but from the man page it looks like the sftp
commands need to be in a separate file. Something like:
fetch2.sh:
#!/bin/sh
sftp -b /home/jungle/batchfile jungle@host
/home/jungle/batchfile:
cd /home/jungle
put file_*.csv aaa_completed
If it were me, I would just use
Hello All,
Running Openssh's sftp version 3 on both client and server but the OS
is not openBSD.
I want to upload a file automatically with a cron job so I'm using the -b flag.
% cat fetch2.sh
#!/bin/sh
cd /home/jungle
put file_*.csv aaa_completed
I can't specify the file name completely beca
6 matches
Mail list logo