Nagle said:
Juliean said:
I'm 99% certain that this can't be done.
Sure it can. See https://libzip.org/documentation/libzip.html
There are several libraries for reading and writing ZIP files. Reading is cheap. You can look up a file within the ZIP file by pathname, then start reading it without decompressing the whole archive. For this application, read-only mode is all you need.
You are right but as I said: I do not want to compress the whole file….but the other answers explain how this can be achieved so all good!