Discussion:
Ways to know number of new files after mirror
akshay gupta
2014-09-23 11:03:09 UTC
Permalink
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

Loading...