You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pack.html 1.4 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>GZip/BZip2 Tasks</title>
  5. </head>
  6. <body>
  7. <h2><a name="pack">GZip/BZip2</a></h2>
  8. <h3>Description</h3>
  9. <p>Packs a file using the GZip or BZip2 algorithm.
  10. The output file is only generated if it doesn't exist or the source
  11. file is newer.</p>
  12. <h3>Parameters</h3>
  13. <table border="1" cellpadding="2" cellspacing="0">
  14. <tr>
  15. <td valign="top"><b>Attribute</b></td>
  16. <td valign="top"><b>Description</b></td>
  17. <td align="center" valign="top"><b>Required</b></td>
  18. </tr>
  19. <tr>
  20. <td valign="top">src</td>
  21. <td valign="top">the file to gzip/bzip.</td>
  22. <td align="center" valign="top">Yes</td>
  23. </tr>
  24. <tr>
  25. <td valign="top">destfile</td>
  26. <td valign="top">the destination file to create.</td>
  27. <td align="center" valign="top" rowspan="2">Exactly one of the two.</td>
  28. </tr>
  29. <tr>
  30. <td valign="top">zipfile</td>
  31. <td valign="top">the <i>deprecated</i> old name of destfile.</td>
  32. </tr>
  33. </table>
  34. <h3>Examples</h3>
  35. <blockquote>
  36. <p><code>&lt;gzip src=&quot;test.tar&quot; destfile=&quot;test.tar.gz&quot;/&gt;</code></p>
  37. </blockquote>
  38. <blockquote>
  39. <p><code>&lt;bzip2 src=&quot;test.tar&quot; destfile=&quot;test.tar.bz2&quot;/&gt;</code></p>
  40. </blockquote>
  41. <hr>
  42. <p align="center">Copyright &copy; 2000-2004 The Apache Software Foundation. All rights
  43. Reserved.</p>
  44. </body>
  45. </html>