[Gambas-user] UnCompress question

Bruce Steers bsteers4 at gmail.com
Sun Sep 11 16:35:53 CEST 2022


On Sat, 10 Sept 2022 at 15:12, Benoit Minisini <
benoit.minisini at gambas-basic.org> wrote:

> Le 10/09/2022 à 14:25, Bruce Steers a écrit :
> >     Yes. 'gb.compress' is for compressing, not archiving.
> >
> >     If you want to create compressed archives, use the command-line
> tools.
> >
> >     Regards,
> >
> >     --
> >     Benoît Minisini.
> >
> >
> > Ahh , very well
> > I see there's /main/gbc/gbc_archive.c but it looks internal/private is
> > there too much to do to update Uncompress to support listing and
> > extracting items or can gbc_archive be modified to extract items and
> > work publicly?
> >
> > I assume gambas itself (gbc) can unarchive because a gambas exe is an
> > archive (or am i wrong about that and it works differently?)
> >
> > Note: not interested in adding/making archives just extracting.
> >
> > Reason: I'm adding an update class to my progs that uses gitlab,
> > It checks version in .project file and downloads the archive if newer,
> > then extracts contents to update/compile source.
> >
> > Respects
> > BruceS
> >
>
> I really don't see the problem with using SHELL or EXEC with 'zip',
> 'tar', and so on.
>

aah fair enough.  Shell or Exec it is then :)
Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220911/2dbf2c53/attachment.htm>


More information about the User mailing list