[Gambas-user] UnCompress question

Benoit Minisini benoit.minisini at gambas-basic.org
Sat Sep 10 16:11:57 CEST 2022


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.

-- 
Benoît Minisini.


More information about the User mailing list