Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Tempted to -1 for not doing even basic research... – grawity Sep 18 '11 at 19:44
@grawity: What exactly are you referring to? – Mehrdad Sep 18 '11 at 19:47
He is talking about downvoting your question since you failed to share what you've already researched on that subject. I added the part where you ask about a specific application – it seems to be the real issue here – is that okay? – slhck Sep 18 '11 at 20:25
@slhck: Ah, yes, that's great! Thanks! – Mehrdad Sep 18 '11 at 20:57

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.

share|improve this answer

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.

share|improve this answer
… sounds really easy! – slhck Sep 18 '11 at 20:51
... o_o I hope you're being sarcastic... – Mehrdad Sep 18 '11 at 20:58

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".

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .