zipnote(1)

πŸ“¦
version 3.0 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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

zip(1), unzip(1) 🌸

πŸ’œ 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 πŸ’–βœ¨