Em 27/01/2010 13:56, Henrik escreveu:
> 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@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>    
You mean:

lftp -e  "mirror --reverse --delete --only-newer --verbose /var/bkp 
/test_bkp ;quit" -u user,password somehost.com

??
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to