Just wanted to chime in here. ListFile does not add fragment attributes, which has already been pointed out in this thread, but there's a JIRA to add this capability [1], though it has not been worked on yet.
This JIRA would allow for MergeContent to be able to create an archive of all the files listed from a directory at the point at which the listing was made, ie., a discrete listing. [1] https://issues.apache.org/jira/browse/NIFI-2607 On Tue, Feb 7, 2017 at 6:39 PM teox78 <[email protected]> wrote: > Hi Mark, > I need to do something very similar and though of changing ListFile > processor in order to add attributes as you suggested. My question is : in > order to do this should I copy ListFile source code , make needed changes > and save it as a new class ? Then package it as a NAR and add it to lib > folder .... > > Thank you > Matteo > > > > -- > View this message in context: > http://apache-nifi-developer-list.39713.n7.nabble.com/Compress-a-folder-with-all-its-files-tp12186p14611.html > Sent from the Apache NiFi Developer List mailing list archive at > Nabble.com. >
