Re: Auto exit lftp on bash script

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



On 2010-01-26 19:24, Alan Hoffmeister wrote:
> #####################
> #lftp will make the backup
> lftp -u user,password -e "mirror --reverse --delete --only-newer
> --verbose /var/bkp /test_bkp" somehost.com>>  $LOGFILE
>
>    
;quit does work in my script:
lftp -e 'put 'some.file';quit' -p 21 -u user,pass 1.1.1.1
_______________________________________________
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