Ways to know number of new files after mirror

akshay gupta <[email protected]> Tue, 23 Sep 2014 16:33:09 +0530
Newsgroups gmane.network.lftp.user,gmane.network.lftp.devel
Message-ID <CAB_qc73u0o-1noDhT3sP9xKbiBXpwvhUh1nEh69J3675YT8M9Q@mail.gmail.com>
--===============8170964613742235840==
Content-Type: multipart/alternative; boundary=f46d04388eb76e7b8e0503b98448

--f46d04388eb76e7b8e0503b98448
Content-Type: text/plain; charset=UTF-8

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

--f46d04388eb76e7b8e0503b98448
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi All,<div><br></div><div>I want to know how many new fil=
es 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 pro=
vide some special exit status code when mirror succeeds but no new files ar=
e added.=C2=A0</div><div>if not can you suggest some way of knowing when mi=
rror command produces no new files.</div><div><br></div><div>Thanks,</div><=
div>Akshay</div></div>

--f46d04388eb76e7b8e0503b98448--

--===============8170964613742235840==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

--===============8170964613742235840==--