Re: Nested zips in Scala
Rex Kerr <[email protected]> Wed, 15 Jun 2016 09:25:49 -0700
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <CAP_xLa3ChJ_m4x+ipoHVvzW_UFY+Wm88mudm-SWvTcqMYzp6ag@mail.gmail.com> |
You can do it the same way as in Java--use ZipInputStream to unpack the inner ones. (Either ZipFile or ZipInputStream is okay for the outer.) Incidentally, this kind of question is best asked on the scala-user list. --Rex On Wed, Jun 15, 2016 at 9:22 AM, <[email protected]> wrote: > Hi there, new to scala not new to coding. I can unzip files no problem but > I'm having trouble with unzipping nested zip files with scala, has anyone > here dealt with this problem and give some example of pointers? Thanks! > > Original.zip contains > file1.txt > file2.txt > file3.zip contains > file3.txt > file4.zip contains > file4.txt > > I want to be able to extract all the text files automatically/recursively > > Thanks! > > > -- > You received this message because you are subscribed to the Google Groups > "scala-language" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.