LinuxCommandLibrary

zipnote

TLDR

Show file comments

$ zipnote [archive.zip]
copy
Edit comments
$ zipnote [archive.zip] > [notes.txt] && vim [notes.txt] && zipnote -w [archive.zip] < [notes.txt]
copy
Write comments from file
$ zipnote -w [archive.zip] < [notes.txt]
copy

SYNOPSIS

zipnote [-w] [options] zipfile

DESCRIPTION

zipnote reads and writes ZIP file comments. It manages metadata.
Read mode outputs comments. Each file's comment shown.
Output format is structured. File names and comments separated.
Write mode updates comments. Reads modified format.
Archive comments also handled. Overall archive description.

PARAMETERS

-w

Write mode.
-b PATH
Temp file path.
-h
Show help.
-v
Show version.

FORMAT

$ @ filename
comment text here
@ (comment above this line)
@ filename2
copy

CAVEATS

Part of Info-ZIP. Specific format required. Edit carefully.

HISTORY

zipnote is part of Info-ZIP utilities. It enables comment management in ZIP files.

SEE ALSO

zip(1), unzip(1), zipinfo(1)

Copied to clipboard