Re: [lftp-devel] Ways to know number of new files after mirror

2014-12-24 Thread Alexander Lukyanov
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 : > Hi All, > > I want to know how many new files are added after mirror command has > completed. I am going to run the lftp comma

[lftp-devel] Ways to know number of new files after mirror

2014-10-13 Thread akshay gupta
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 so