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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like