zipnote(1)
π zipnote(1) β¨ General Commands Manual
π NAME
zipnote, bestie, is the tool that writes the comments in a zipfile to stdout, and also lets you edit comments and rename files inside a zipfile π¦
π SYNOPSIS
zipnote [-w] [-b path] [-h] [-v] [-L] zipfile
π«Ά ARGUMENTS
zipfileβ the zipfile you want to read comments from or edit πΈ
β¨ OPTIONS β¨
-wβ writes comments into a zipfile, reading them from stdin (more on that below) π-b pathβ uses path as the temporary zip file π§-hβ shows a quick help message π-vβ shows the version info π-Lβ shows the software license π
π« DESCRIPTION
okay so, zipnote writes the comments in a zipfile out to stdout, and that's the default mode π₯ There's a second mode too, and it's where the magic happens: it lets you update the comments in a zipfile and change the names of the files inside it. Both modes get explained down below, so don't worry, I got you π«Ά
π EXAMPLES
okay so to write every comment in a zipfile out to stdout, you'd do something like:
zipnote foo.zip > foo.tmp
this writes all the comments in the zipfile foo.zip into the file foo.tmp, in a specific format π
if you want, you can then edit that file to change the comments, and use it to update the zipfile:
zipnote -w foo.zip < foo.tmp
the names of the files in the zipfile can be changed this way too π You do it by following lines like
"@ name"
in the temporary file (called foo.tmp here) with lines like
"@=newname"
and then using the -w option just like before π
π BUGS
β οΈ bestie, the temporary file format is pretty specific, and zipnote is rather picky about it π It should be easier to change file names in a script, and that's a known issue, not a vibe I made up.
β οΈ it does not yet support large (> 2 GB) or split archives π
π¦ SEE ALSO
π AUTHOR
Info-ZIP is the one who made this, all credit to them π«Ά
v3.0 of 8 May 2008 π That's the version and date of this page, and zipnote(1) is the manual page. Stay iconic, bestie πβ¨
π¦ where this page comes from
- alpine 3.22: zip-doc 3.0-r13 Β· Info-ZIP
- alpine 3.23: zip-doc 3.0-r13 Β· Info-ZIP
- alpine 3.24: zip-doc 3.0-r13 Β· Info-ZIP
- arch rolling: zip 3.0-14 Β· LicenseRef-Info-ZIP
- debian bookworm: zip 3.0-13
- debian bookworm: zip 3.0-13+deb12u1
- debian trixie: zip 3.0-15+deb13u1
- nixos 26.05: zip 3.0
- nixpkgs unstable: zip 3.0
- opensuse-leap 16.0: zip 3.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: zip 3.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: zip 3.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: zip 3.0-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: zip 3.0-12build2
- ubuntu noble: zip 3.0-13build1
- ubuntu noble: zip 3.0-13ubuntu0.2
- ubuntu questing: zip 3.0-15ubuntu2
- ubuntu resolute: zip 3.0-15ubuntu3
- ubuntu stonking: zip 3.0-16ubuntu1
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms