zipnote

View, add, or edit a Zip archive's comments. Files can also be renamed in the Zip archive. More information: https://manned.org/zipnote.

zipnote path/to/file.zip

zipnote path/to/file.zip > path/to/file.txt

zipnote -w path/to/file.zip < path/to/file.txt