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?

link|improve this question

69% accept rate
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
1  
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
feedback

3 Answers

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.

link|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
feedback

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

link|improve this answer
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.