Re: Compressing data at destination machine

akshay gupta <[email protected]> Tue, 2 Dec 2014 21:53:08 +0530
Newsgroups gmane.network.lftp.user,gmane.network.lftp.devel
Message-ID <CAB_qc70uR3aJKfwPLbih3pSSuGFg_Anu4V0cv6PWWuaUM3GJAg@mail.gmail.com>
--===============1436459773500361206==
Content-Type: multipart/alternative; boundary=047d7bf1617eb8d2b205093e25dd

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

I have tried using it. It does not update the files appearing in the mount
point if the files in zip changes. And it also does not retains
modification time of the file at the mount location this could affect the
mirror.

Do you have any other similar opensource software in mind that could also
support writes.


Thanks,
Akshay

On Fri, Nov 28, 2014 at 1:06 PM, Alexander V. Lukyanov <[email protected]> wrote:

> On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay gupta wrote:
> > 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?
>
> Take a look at zipfs: https://github.com/hanwen/go-fuse
>
> Unfortunately it is read-only.
>
> So you can mount a zip file, run mirror over it with --script option, run
> the script with an empty target directory, then run zip to update the
> archive.
>
> --
>    Alexander.
>

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

<div dir=3D"ltr">I have tried using it. It does not update the files appear=
ing in the mount point if the files in zip changes. And it also does not re=
tains modification time of the file at the mount location this could affect=
 the mirror.<div><br></div><div>Do you have any other similar opensource so=
ftware in mind that could also support writes.=C2=A0</div><div><br></div><d=
iv><br></div><div>Thanks,</div><div>Akshay</div></div><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote">On Fri, Nov 28, 2014 at 1:06 PM, Alexa=
nder V. Lukyanov <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex"><span class=3D"">On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay g=
upta wrote:<br>
&gt; I dont want lftp to extract data from archives, I want it to compress =
it<br>
&gt; into archive so that it occupies less space at the destination side. I=
s<br>
&gt; this feasible to do in lftp?<br>
<br>
</span>Take a look at zipfs: <a href=3D"https://github.com/hanwen/go-fuse" =
target=3D"_blank">https://github.com/hanwen/go-fuse</a><br>
<br>
Unfortunately it is read-only.<br>
<br>
So you can mount a zip file, run mirror over it with --script option, run<b=
r>
the script with an empty target directory, then run zip to update the<br>
archive.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
=C2=A0 =C2=A0Alexander.<br>
</font></span></blockquote></div><br></div>

--047d7bf1617eb8d2b205093e25dd--

--===============1436459773500361206==
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

--===============1436459773500361206==--