Re: Ways to know number of new files after mirror
Alexander Lukyanov <[email protected]> Wed, 24 Dec 2014 16:35:01 +0400
| Newsgroups | gmane.network.lftp.user,gmane.network.lftp.devel |
|---|---|
| Message-ID | <CANnoEwqZ1ZWgqWNyCHrtQZOB+aQzzOue-ToOWbTQSi9t=zbWpw@mail.gmail.com> |
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 <[email protected]>: > 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 mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp