zipnote.1 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .TH zipnote 1 "v3.0 of 8 May 2008"
  2. .SH NAME
  3. zipnote \- write the comments in zipfile to stdout, edit comments and rename files in zipfile
  4. .SH SYNOPSIS
  5. .I zipnote
  6. .RB [ \-w ]
  7. .RB [ \-b\ path ]
  8. .RB [ \-h ]
  9. .RB [ \-v ]
  10. .RB [ \-L ]
  11. zipfile
  12. .SH ARGUMENTS
  13. .in +13
  14. .ti -13
  15. zipfile Zipfile to read comments from or edit.
  16. .SH OPTIONS
  17. .TP
  18. .BI \-w
  19. Write comments to a zipfile from stdin (see below).
  20. .TP
  21. .BI \-b\ \fRpath
  22. Use path for the temporary zip file.
  23. .TP
  24. .BI \-h
  25. Show a short help.
  26. .TP
  27. .BI \-v
  28. Show version information.
  29. .TP
  30. .BI \-L
  31. Show software license.
  32. .SH DESCRIPTION
  33. .I zipnote
  34. writes the comments in a zipfile to stdout. This is the default mode. A second mode
  35. allows updating the comments in a zipfile as well as allows changing the names
  36. of the files in the zipfile. These modes are described below.
  37. .SH EXAMPLES
  38. To write all comments in a zipfile to stdout use for example
  39. .LP
  40. .nf
  41. zipnote foo.zip > foo.tmp
  42. .fi
  43. .LP
  44. This writes all comments in the zipfile
  45. .I foo.zip
  46. to the file
  47. .I foo.tmp
  48. in a specific format.
  49. .LP
  50. If desired, this file can then be edited to change the comments and then used
  51. to update the zipfile.
  52. .LP
  53. .nf
  54. zipnote -w foo.zip < foo.tmp
  55. .fi
  56. .LP
  57. The names of the files in the zipfile can also be changed in this way. This is done by
  58. following lines like
  59. .nf
  60. "@ name"
  61. .fi
  62. in the created temporary file (called
  63. .I foo.tmp
  64. here) with lines like
  65. .nf
  66. "@=newname"
  67. .fi
  68. and then using the -w option as above.
  69. .SH BUGS
  70. The temporary file format is rather specific and zipnote is rather picky about it.
  71. It should be easier to change file names in a script.
  72. Does not yet support large (> 2 GB) or split archives.
  73. .SH SEE ALSO
  74. zip(1), unzip(1)
  75. .SH AUTHOR
  76. Info-ZIP