srikanth-lingala / zip4j

A Java library for zip files and streams
Apache License 2.0
2.09k stars 313 forks source link

Query the OS that was used to created the zip #518

Open kongeor opened 1 year ago

kongeor commented 1 year ago

Hello,

thank you for your work on this.

I was wondering if there is a way to query the operating system that was used to create the zip file.

Something like the information the https://github.com/pmqs/zipdetails provides. It is per file but that's fine.

There is a line zipdetails provides that looks like:

034D Created OS            03 'Unix'

or

00AC Created OS            00 'MS-DOS'

Did some digging but couldn't find a way to acquire this information.

Thanks!