From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | Andrus <kobruleht2(at)hot(dot)ee> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: db backup script in gentoo |
Date: | 2008-11-30 11:22:18 |
Message-ID: | dcc563d10811300322q28b14492m29dcd8e311174eab@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Nov 30, 2008 at 3:17 AM, Andrus <kobruleht2(at)hot(dot)ee> wrote:
>> Are you using ftp or lftp? lftp is much more scriptable / controllable
>> than regular ftp.
>
> I'm using ftp as shown in script.
> typing lftp shows that this is not found but locate shows something.
> How to use lftp in this 3-year old gentoo ?
> Where to find sample script for thos task ?
Sorry, I'm no gentoo expert. It's certainly not the first distro I'd
recommend to someone just starting out with linux / unix. Time to
break out the google. I also found quite a few example scripts for
lftp with google in a few minutes.
here's a simple one.
open myftp.ftp.com
user username password
cd /some_directory/
mv textfile.tar Finishedtextfile.tar
get Finishedtextfile.tar
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-11-30 17:58:10 | Re: Query too slow with "not in" condition |
Previous Message | Andrus | 2008-11-30 10:17:58 | Re: db backup script in gentoo |