In fact, you will need comments on each of the files, which made it much harder for me to find the documentation . Here is an example of how to get a comment from a file.
require 'zip/zip'
Zip::ZipFile.open("6.zip") do |zipfile|
p zipfile.get_entry("90052.txt").comment
end
source
share