RE: --on-change option

"Carl Edwards" <[email protected]> Wed, 10 Feb 2010 10:53:40 -0800
Newsgroups gmane.network.lftp.devel
Message-ID <3C7833C2631A88488312B31449A742B7021FCAA4@EXCH-CAM.vsc.vitesse.com>
Works perfectly, sorry missed that in the man page.

Thanks

-----Original Message-----
From: Alexander V. Lukyanov [mailto:[email protected]] 
Sent: Monday, February 08, 2010 10:24 PM
To: Carl Edwards
Cc: [email protected]
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..