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.2 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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">zipfile</td>
  26. <td valign="top">the destination file.</td>
  27. <td align="center" valign="top">Yes</td>
  28. </tr>
  29. </table>
  30. <h3>Examples</h3>
  31. <blockquote>
  32. <p><code>&lt;gzip src=&quot;test.tar&quot; zipfile=&quot;test.tar.gz&quot;/&gt;</code></p>
  33. </blockquote>
  34. <blockquote>
  35. <p><code>&lt;bzip2 src=&quot;test.tar&quot; zipfile=&quot;test.tar.bz2&quot;/&gt;</code></p>
  36. </blockquote>
  37. <hr>
  38. <p align="center">Copyright &copy; 2000-2002 Apache Software Foundation. All rights
  39. Reserved.</p>
  40. </body>
  41. </html>