Forrest logo
tool overview
On this page you find all important commands for the CLI tool zipalign. If the command you are looking for is missing please ask our AI.

zipalign

zipalign is a zip archive alignment tool that helps ensure that all uncompressed files in the archive are aligned relative to the start of the file. This lets the files be accessed directly via mmap(2) , removing the need to copy this data in RAM and reducing your app's memory usage.

List of commands for zipalign:

  • zip:tldr:93c02 zip: Align the data of a ZIP file on 4-byte boundaries.
    $ zipalign ${4} ${path-to-input-zip} ${path-to-output-zip}
    try on your machine
    explain this command
  • zip:tldr:bf7c9 zip: Check that a ZIP file is correctly aligned on 4-byte boundaries and display the results in a verbose manner.
    $ zipalign -v -c ${4} ${path-to-input-zip}
    try on your machine
    explain this command
tool overview