Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 04-12-2016 01:56 PM
Does NiFi have a processor to expand a tar or zip file and allow access/process to files within?
Created 04-12-2016 01:59 PM
Hey Sunile,
I believe you are looking for the unpack content processor found here
Allowable file types:
Created 04-12-2016 01:59 PM
Hey Sunile,
I believe you are looking for the unpack content processor found here
Allowable file types:
Created 04-12-2016 02:02 PM
Using UnpackContent processor you can take the items out of tar or zip archives as individual flow files. Metadata about those objects will be retained on each flow file. You can then operate on those individual unpacked items to do what you need then you could if needed recombine them back into a zip or tar using the merge strategy of 'defragment'.
Created 04-12-2016 02:06 PM
In addition to the UnpackContent processor suggested by @Chris Gambino, the CompressContent[1] processor has a "decompress" option which works on these compression formats:
[1]https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.CompressContent/index.html