Re: Auto exit lftp on bash script

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



Alan Hoffmeister wrote:
> Em 26/01/2010 16:54, Akemi Yagi escreveu:
>> lftp -u user,password -e "mirror --reverse --delete --only-newer
>> >  --verbose /var/bkp /test_bkp" somehost.com
> Already tryed the && exit, but no sucess...

try ncftpput instead?

http://www.ncftp.com/ncftp/doc/ncftpput.html

"The purpose of ncftpput is to do file transfers from the
command-line without entering an interactive shell. This lets
you write shell scripts or other unattended processes that can
do FTP. It is also useful for advanced users who want to send
files from the shell command line without entering an interactive
FTP program such as ncftp. "

nate


_______________________________________________
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