Files
cheatsheet-tldr/zipnote
2024-02-21 11:19:49 +00:00

23 lines
548 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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>.
- View the comments on a `zip` archive:
`zipnote {{path/to/file.zip}}`
- Extract the comments on a `zip` archive to a file:
`zipnote {{path/to/file.zip}} > {{path/to/file.txt}}`
- Add/Update comments in a `zip` archive from a file:
`zipnote -w {{path/to/file.zip}} < {{path/to/file.txt}}`