[CentOS] Auto exit lftp on bash script

Tue Jan 26 18:54:52 UTC 2010
Akemi Yagi <amyagi at gmail.com>

On Tue, Jan 26, 2010 at 10:24 AM, Alan Hoffmeister <alangtk at gmail.com> wrote:
> Hello again!
>
> I have this piece od code:
>
> #####################
> #lftp will make the backup
> lftp -u user,password -e "mirror --reverse --delete --only-newer
> --verbose /var/bkp /test_bkp" somehost.com >> $LOGFILE

Try format that looks like:

lftp -e 'open <somewhere> && mirror <something> && exit'

Akemi