I don't know if it would be useful, but mirror has --on-change option to
run a script after mirroring which produced a change.

2014-09-23 15:03 GMT+04:00 akshay gupta <akshaygupta...@gmail.com>:

> Hi All,
>
> I want to know how many new files are added after mirror command has
> completed. I am going to run the lftp command through java code using
> runtime exec() call. Does lftp command provide some special exit status
> code when mirror succeeds but no new files are added.
> if not can you suggest some way of knowing when mirror command produces no
> new files.
>
> Thanks,
> Akshay
>



-- 
   Alexander.
_______________________________________________
lftp-devel mailing list
lftp-devel@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel

Reply via email to