in reply to Renaming a file member in zip64 archive

I don't think IO::Compress::Zip can do that, given that the module's documentation specifically says this:

The primary purpose of this module is to provide streaming write access to zip files and buffers. It is not a general-purpose file archiver.

Archive::Zip::SimpleZip appears to support the zip64 extension, have you looked into that?

There's also a bug for adding zip64 support to Archive::Zip. It's existed for several years, so my gut feeling is that the author's not gonna fix it anytime soon, but patches are presumably welcome.

  • Comment on Re: Renaming a file member in zip64 archive

Replies are listed 'Best First'.
Re^2: Renaming a file member in zip64 archive
by pmqs (Friar) on Aug 06, 2014 at 21:15 UTC

    Archive::Zip::SimpleZip is just a wrapper around IO::Compress::Zip. It cannot modify existing zip files. I have no plans to change either modules to allow updating of existing Zip archives.

    Regarding renaming of zip file members for Zip64 archives, I'm not aware of anything that supports doing it in pure Perl. Only thing I can suggest is How can I rename zipfile members without extracting and recompressing them?