Is there any standard way to store metadata (e.g. timestamps) inside ZIP files, along with the files?
What program would I need to use in order to do this?
33 Answers
Yes. It's called the "Extra" field
Many different programs use that field for their own purposes; we can't recommend one if we don't know what goals you have.
A Java JAR manifest is a metadata file, and a JAR file is a special form of ZIP file. Basically, you can put any file you want inside the ZIP file and call it "metadata".
You can always wrap an xml file around the zip which includes the metadata and the path to the zip, give it its own extension and write a default handler for your new extension which gets the meta data then opens the zip.
2