Zip File with Metadata?

Zip File with Metadata?

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?

3

3 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sophia Al-Mansoor
Author

Sophia Al-Mansoor

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.