Re: Compressing data at destination machine
akshay gupta <[email protected]> Fri, 28 Nov 2014 11:55:07 +0530
| Newsgroups | gmane.network.lftp.user,gmane.network.lftp.devel |
|---|---|
| Message-ID | <CAB_qc72iS59Ly8XNfKcuE3ZfahySLBNfa=JgRCAzwxbf_kKDPQ@mail.gmail.com> |
--===============7349309867389409990== Content-Type: multipart/alternative; boundary=001a1133322aad2df10508e55385 --001a1133322aad2df10508e55385 Content-Type: text/plain; charset=UTF-8 I dont want lftp to extract data from archives, I want it to compress it into archive so that it occupies less space at the destination side. Is this feasible to do in lftp? On Wed, Nov 26, 2014 at 11:33 AM, Alexander V. Lukyanov <[email protected]> wrote: > On Tue, Nov 25, 2014 at 06:44:32PM +0530, akshay gupta wrote: > > I want to store the data that is being pulled by lftp mirror job in a > > compressed format. Is it possible that mirror function can check file > > download status from inside of that tar, zip etc. Is it possible to > > implement such a functionality in lftp? > > I don't think mirror will be able to extract compressed archives, but > you can download the archive and extract it at the same time, like this: > > lftp> cat file.tar.gz | tar xv > > -- > Alexander. > --001a1133322aad2df10508e55385 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I dont want lftp to extract data from archives, I want it = to compress it into archive so that it occupies less space at the destinati= on side. Is this feasible to do in lftp?<br></div><div class=3D"gmail_extra= "><br><div class=3D"gmail_quote">On Wed, Nov 26, 2014 at 11:33 AM, Alexande= r V. Lukyanov <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>></span> wrote:<br><blockquote class=3D"gmai= l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left= :1ex"><div class=3D"HOEnZb"><div class=3D"h5">On Tue, Nov 25, 2014 at 06:44= :32PM +0530, akshay gupta wrote:<br> > I want to store the data that is being pulled by lftp mirror job in a<= br> > compressed format. Is it possible that mirror function can check file<= br> > download status from inside of that tar, zip etc. Is it possible to<br= > > implement such a functionality in lftp?<br> <br> </div></div>I don't think mirror will be able to extract compressed arc= hives, but<br> you can download the archive and extract it at the same time, like this:<br= > <br> lftp> cat file.tar.gz | tar xv<br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> --<br> =C2=A0 =C2=A0Alexander.<br> </font></span></blockquote></div><br></div> --001a1133322aad2df10508e55385-- --===============7349309867389409990== 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 --===============7349309867389409990==--