On Tue, Nov 20, 2007 at 08:11:33AM +1100, Terry Allen wrote:
> lftp -u lftptestuser,test123 -e "mirror -n / 
> /Users/lftptestuser/lftptest --delete" testftp.com
> 
>       It mirrors, will delete non-existent files & mirror new ones, 
> but after completion, it sits still logged in - can anyone tell me 
> what I need to add to the end of this command to exit the lftp state 
> please? Many thanks for any assistance.

add ;exit to the command after -e option, or use -c option:

    lftp -c "mirror -ne ftp://lftptestuser:[EMAIL PROTECTED]/%2F 
/Users/lftptestuser/lftptest"

-- 
   Alexander..

Reply via email to