<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to extract a zip file that contains several other zips files in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-extract-a-zip-file-that-contains-several-other-zips/m-p/339555#M233107</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96786"&gt;@Nifi_Al&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a way to do that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_0-1648116148018.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33997i12059482DFEA9D1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_0-1648116148018.png" alt="araujo_0-1648116148018.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RouteOnAttribute processor checks the file name and if it's a ZIP file it sends it for unpacking. Otherwise sends the non-zip file downstream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_1-1648116231378.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33999iD1C2674A743F52CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_1-1648116231378.png" alt="araujo_1-1648116231378.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;DIV&gt;&lt;I&gt;--&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;Was your question answered? Please take some time to click on "&lt;/I&gt;&lt;STRONG&gt;&lt;I&gt;Accept as Solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt;" below this post.&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 10:05:06 GMT</pubDate>
    <dc:creator>araujo</dc:creator>
    <dc:date>2022-03-24T10:05:06Z</dc:date>
    <item>
      <title>How to extract a zip file that contains several other zips files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-extract-a-zip-file-that-contains-several-other-zips/m-p/339220#M233065</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I've zip file that contains several other zips files.&lt;/P&gt;&lt;P&gt;I want to extract the main ZIP and all&amp;nbsp;other zips files (Recursive)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone please advise how to do this using NIFI ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 08:45:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-extract-a-zip-file-that-contains-several-other-zips/m-p/339220#M233065</guid>
      <dc:creator>Nifi_Al</dc:creator>
      <dc:date>2022-03-23T08:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a zip file that contains several other zips files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-extract-a-zip-file-that-contains-several-other-zips/m-p/339417#M233090</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96786"&gt;@Nifi_Al&lt;/a&gt;&amp;nbsp; Use getFile/putFile to read and write in your flow.&amp;nbsp; Then If you use &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.15.0/org.apache.nifi.processors.standard.UnpackContent/index.html" target="_self"&gt;unpackContent&lt;/A&gt; against a zipped flowfile it should create individual artifacts flowfiles which can be additionally unzipped further.&amp;nbsp; &amp;nbsp;Alternatively, if you can create a script to unzip recursively, you can use nifi to &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-scripting-nar/1.15.0/org.apache.nifi.processors.script.ExecuteScript/index.html" target="_self"&gt;executeScript&lt;/A&gt;. Maybe even use &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.6.0/org.apache.nifi.processors.standard.ExecuteProcess/" target="_self"&gt;executeProcess&lt;/A&gt; too.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 21:29:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-extract-a-zip-file-that-contains-several-other-zips/m-p/339417#M233090</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-03-23T21:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a zip file that contains several other zips files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-extract-a-zip-file-that-contains-several-other-zips/m-p/339555#M233107</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96786"&gt;@Nifi_Al&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a way to do that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_0-1648116148018.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33997i12059482DFEA9D1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_0-1648116148018.png" alt="araujo_0-1648116148018.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RouteOnAttribute processor checks the file name and if it's a ZIP file it sends it for unpacking. Otherwise sends the non-zip file downstream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_1-1648116231378.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33999iD1C2674A743F52CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_1-1648116231378.png" alt="araujo_1-1648116231378.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;DIV&gt;&lt;I&gt;--&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;Was your question answered? Please take some time to click on "&lt;/I&gt;&lt;STRONG&gt;&lt;I&gt;Accept as Solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt;" below this post.&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 10:05:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-extract-a-zip-file-that-contains-several-other-zips/m-p/339555#M233107</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-24T10:05:06Z</dc:date>
    </item>
  </channel>
</rss>

