How to delete a file from a zipfile? #524
Answered
by
nmoinvaz
jinfeihan57
asked this question in
Q&A
-
See the title. |
Beta Was this translation helpful? Give feedback.
Answered by
nmoinvaz
Oct 11, 2020
Replies: 1 comment
-
To remove an entry from a zip file, you can take a look at https://github.com/nmoinvaz/minizip/blob/3ecff07e3cf76b848b9d6b219302c1c5311aa281/minizip.c#L423 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nmoinvaz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To remove an entry from a zip file, you can take a look at
minizip_erase
inminizip.c
. It involves recreating the zip file without the specific entry you are deleting.https://github.com/nmoinvaz/minizip/blob/3ecff07e3cf76b848b9d6b219302c1c5311aa281/minizip.c#L423