how to zip folder using nifi?
We have nifi flows like below
ListSFTP >> ... >> FetchSFTP >> ... >> MergeContent >> ... >> PutFTP
- FetchSFTP fetch all files in yyyymmdd folder( ex : ./A1/20191018 ) one by one
- MergeContent make all files into one zipfile.
It works well, but fetching all files one by one takes long time. also it needs lots of memory. Therefore we want to change above process into below
step1) Compress all files of one folder( ex : ./A1/20191018 --> 20191018.zip )
step2) Fetch this one zipfile
step3) PutFTP
In this process, I dont know about step1
How can I Compress all files in folder?
Thanks
All files are in Windows.
Nifi is in Linux.

