ZIP file with metadata?

4

1

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?

user541686

Posted 2011-09-18T19:22:54.747

Reputation: 21 330

Tempted to -1 for not doing even basic research... – user1686 – 2011-09-18T19:44:53.830

@grawity: What exactly are you referring to? – user541686 – 2011-09-18T19:47:33.437

1He 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 – 2011-09-18T20:25:16.830

Answers

3

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.

MSalters

Posted 2011-09-18T19:22:54.747

Reputation: 7 587

0

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

Daniel R Hicks

Posted 2011-09-18T19:22:54.747

Reputation: 5 783

-1

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.

Kari

Posted 2011-09-18T19:22:54.747

Reputation: 195

… sounds really easy! – slhck – 2011-09-18T20:51:18.620

2... o_o I hope you're being sarcastic... – user541686 – 2011-09-18T20:58:28.027