Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
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
add comment

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.

share|improve this answer
add comment

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
1  
... o_o I hope you're being sarcastic... –  Mehrdad Sep 18 '11 at 20:58
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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