> On Nov 20, 2015, at 17:36, Thierry Goubier <thierry.goub...@gmail.com> wrote:
> 
> Le 20/11/2015 21:16, Juraj Kubelka a écrit :
>> If I remember well, ZIP in Pharo supports only one file (one stream
>> of data). There is no support for directories. At least, when I have
>> intended it some time ago, I failed.
> 
> No, zip in Pharo works with directories. However I think the zip Filesystem 
> doesn't work which means you have to manipulate the zip members with the zip 
> API, not as a filesystem.

Can you give me an example? 
The file has about 30.000 files (compressed less then 50 MB). I am not sure if 
it is good idea to manage this inside of Pharo image.

> 
>> I do not stand on using *.tar.gz, but I have not found better
>> solution for my setup: Directory is compressed on Linux machine and
>> should be extracted on any machine by using local tools.
>> 
>> Do I miss some feature in Pharo?
> 
> I think you do ;)

Better :-)

Cheers,
Juraj

> 
> Thierry
> 
>> Cheers, Juraj
>> 
>> 
>>> On Nov 20, 2015, at 12:35, Tudor Girba <tu...@tudorgirba.com>
>>> wrote:
>>> 
>>> Why not use Zip files? There already exists direct support for that
>>> (hopefully it still works).
>>> 
>>> Doru
>>> 
>>> 
>>> 
>>> 
>>>> On Nov 20, 2015, at 4:16 PM, Juraj Kubelka
>>>> <juraj.kube...@gmail.com> wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> is there a way to extract *.tar.gz files using plain Pharo 5
>>>> image? Without loading extra packages? It could be OS dependent.
>>>> Maybe calling external linux tar application. I have done it with
>>>> ExternalUnixOSProcess object, but it is not standard part of
>>>> Pharo 5.
>>>> 
>>>> Thanks for any comment. Juraj
>>> 
>>> -- www.tudorgirba.com
>>> 
>>> "Innovation comes in the least expected form. That is, if it is
>>> expected, it already happened."
>>> 
>>> 
>> 
>> 
>> 
> 
> 


Reply via email to