Hi,

I have a question on using your Apache Commons Compress library. I would like 
to use it for my project and compress many files from some folder into one zip 
archive with multithreading.

There is a sample code piece here Commons Compress - Commons Compress User 
Guide 
(apache.org)<https://commons.apache.org/proper/commons-compress/examples.html> 
('Creating a zip file with multiple threads' section) and an article here java 
- How to implement Parallel Zip Creation with ScatterZipOutputStream with Zip64 
Support? - Stack 
Overflow<https://stackoverflow.com/questions/54624695/how-to-implement-parallel-zip-creation-with-scatterzipoutputstream-with-zip64-su>.

Eventually I managed to have this working inside my project's code, but I 
noticed that when writting into zip archive it first creates chunks in /tmp 
folder, which is not the best solution for me - I have rather big files to 
serve (hundreds of GB each) and it makes no sense for me to have /tmp folder 
too big on an everyday basis.

So is there a way to force ParallelScatterZipCreator class to write temporary 
files to some other location, e.g. the same as the final archive?

Regards,
Tomasz Bigosinski

Reply via email to