zipnote.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. zipnote(1) zipnote(1)
  2. NAME
  3. zipnote - write the comments in zipfile to stdout, edit comments and
  4. rename files in zipfile
  5. SYNOPSIS
  6. zipnote [-w] [-b path] [-h] [-v] [-L] zipfile
  7. ARGUMENTS
  8. zipfile Zipfile to read comments from or edit.
  9. OPTIONS
  10. -w Write comments to a zipfile from stdin (see below).
  11. -b path
  12. Use path for the temporary zip file.
  13. -h Show a short help.
  14. -v Show version information.
  15. -L Show software license.
  16. DESCRIPTION
  17. zipnote writes the comments in a zipfile to stdout. This is the
  18. default mode. A second mode allows updating the comments in a zipfile
  19. as well as allows changing the names of the files in the zipfile.
  20. These modes are described below.
  21. EXAMPLES
  22. To write all comments in a zipfile to stdout use for example
  23. zipnote foo.zip > foo.tmp
  24. This writes all comments in the zipfile foo.zip to the file foo.tmp in
  25. a specific format.
  26. If desired, this file can then be edited to change the comments and
  27. then used to update the zipfile.
  28. zipnote -w foo.zip < foo.tmp
  29. The names of the files in the zipfile can also be changed in this way.
  30. This is done by following lines like
  31. "@ name"
  32. in the created temporary file (called foo.tmp here) with lines like
  33. "@=newname"
  34. and then using the -w option as above.
  35. BUGS
  36. The temporary file format is rather specific and zipnote is rather
  37. picky about it. It should be easier to change file names in a script.
  38. Does not yet support large (> 2 GB) or split archives.
  39. SEE ALSO
  40. zip(1), unzip(1)
  41. AUTHOR
  42. Info-ZIP
  43. v3.0 of 8 May 2008 zipnote(1)