3 ms·
zip interestingly sticks the metadata at the end. That lets you add files to a zip without touching what's already been zipped. Just new metadata at the end.
by monocasa 3y ago
zip interestingly sticks the metadata at the end. That lets you add files to a zip without touching what's already been zipped. Just new metadata at the end.
Modern tape archives like LTFS do the same thing as well.
- t43562 3y agoThat sounds like you need to have fetched the whole zip before you can unzip it - which is not what one wants when making "virtual tarfiles" which only exist in a pipe. (i.e. you're packing files in at one end of the pipe and unpacking them at the other)
- bdhcuidbebe 3y agoJust fseek to the end. Zip format was not designed for piping.