On Nov 20, 2015, at 17:21, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Well, you could use OSProcess right?
Yes, it was my first solution. But we need something based on Pharo 5 image. And OSProcess is not in Pharo 5, right? We do not want to load more packages into default Pharo 5. This is the reason why I am looking for another solution. Thanks. Juraj
On Fri, Nov 20, 2015 at 5:16 PM, Juraj Kubelka <juraj.kubelka@gmail.com <mailto:juraj.kubelka@gmail.com>> wrote: 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.
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?
Cheers, Juraj
On Nov 20, 2015, at 12:35, Tudor Girba <tudor@tudorgirba.com <mailto:tudor@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.Kubelka@gmail.com <mailto:Juraj.Kubelka@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 <http://www.tudorgirba.com/>
"Innovation comes in the least expected form. That is, if it is expected, it already happened."
-- Mariano http://marianopeck.wordpress.com <http://marianopeck.wordpress.com/>