zipper.1.in 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .TH ZIPPER 1 "2011-05-26" "libzipper @libzipper_version@" "User Commands"
  2. .SH NAME
  3. zipper \- compress and extract files from archives
  4. .SH SYNOPSIS
  5. .B zipper
  6. {zip|gzip}
  7. .I archive file [files...]
  8. .PP
  9. .B zipper
  10. {unzip|gunzip}
  11. .I archive
  12. .SH DESCRIPTION
  13. .I zipper
  14. provides tools to manage compressed zip and gzip files.
  15. .PP
  16. .I zipper
  17. stores the full path of the specified files when creating an archive, but
  18. does not store any timestamp or permission information.
  19. .PP
  20. .I zipper
  21. extracts files to the full path specified within the archive; the original
  22. archive file is unchanged.
  23. .I zipper
  24. does not support restoring the original
  25. file timestamps or permissions, even if such information is recorded in the
  26. archive.
  27. .SH COMMANDS
  28. .TP
  29. .B zip
  30. Create a new zip archive
  31. .TP
  32. .B unzip
  33. Extract all files from a zip archive.
  34. .TP
  35. .B gzip
  36. Create a new gzip archive
  37. .TP
  38. .B gunzip
  39. Extract the first file from the gzip archive.
  40. .SH OPTIONS
  41. .TP
  42. .B archive
  43. Filename of the compressed zip/gzip file. The special '-' filename is treated
  44. as standard input/output. When creating a new archive, this file will
  45. be overwritten indiscriminately.
  46. .TP
  47. .B files
  48. A list of files to add into the archive. The special '-' filename is treated
  49. as standard input/output.
  50. .SH EXAMPLES
  51. .TP
  52. Create a zip file
  53. zipper zip /tmp/foo.zip bar.txt baz.txt
  54. .TP
  55. Extract a gzip file
  56. zipper gunzip /tmp/foo.gz
  57. .SH CONFORMING TO
  58. .I zipper
  59. supports the DEFLATE algorithm described by RFC1951, and the gzip file format
  60. described by RFC1952.
  61. .SH BUGS
  62. For gzip files,
  63. .I zipper
  64. is able to create an archive containing
  65. multiple files, but can only extract the first file.
  66. .SH SEE ALSO
  67. .BR gunzip (1),
  68. .BR gzip (1),
  69. .BR unzip (1),
  70. .BR zip (1)