Re: Auto exit lftp on bash script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Jan 26, 2010 at 10:24 AM, Alan Hoffmeister <alangtk@xxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux