Works perfectly, sorry missed that in the man page.

Thanks

-----Original Message-----
From: Alexander V. Lukyanov [mailto:l...@netis.ru] 
Sent: Monday, February 08, 2010 10:24 PM
To: Carl Edwards
Cc: lftp-devel@uniyar.ac.ru
Subject: Re: --on-change option

On Mon, Feb 08, 2010 at 06:56:17PM -0800, Carl Edwards wrote:
> I originally thought I could do --on-change=script.sh in my commands
> file but soon realized the man page meant lftp command not shell
> command.
> 
> Would you be up for adding an option to fire off an external program
if
> something has changed?

Use --on-change="!script.sh"

-- 
   Alexander..

Reply via email to