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

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