LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

zipnote

Manage ZIP file comments

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 comments stored in ZIP archives. ZIP files support per-file comments and an overall archive comment, and zipnote provides a way to view and modify these metadata fields from the command line.In read mode (the default), zipnote outputs a structured listing of all filenames and their associated comments. The output uses a specific format with @ markers separating entries, which can be redirected to a file for editing.In write mode (-w), zipnote reads the modified structured format from standard input and updates the archive's comments accordingly. This workflow allows batch editing of comments across all files in an archive. zipnote is part of the Info-ZIP suite of utilities.

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

INSTALL

sudo apt install zip
copy
sudo dnf install zip
copy
sudo pacman -S zip
copy
sudo apk add zip
copy
sudo zypper install zip
copy
brew install zip
copy
nix profile install nixpkgs#zip
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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid