io7m | single-page | multi-page | epub | Montarre User Manual 1.0.0-beta0001
5.9. package schema
Previous
5. Command Line
Up
5.11. package validate
Next

# 5.10. package unpack

- 5.10.1. Name
- 5.10.2. Description
- 5.10.3. Parameters
- 5.10.4. Examples

## 5.10.1. Name

1
package unpack - Unpack a package file.

## 5.10.2. Description

1
The package unpack command unpacks every file from the given package file.
2
The command is the inverse of the package pack command. Unpacking and then repacking should yield a byte-for-byte identical package file.

## 5.10.3. Parameters

### 5.10.3.1. --file

Attribute | Value
--- | ---
Name | --file
Type | java.nio.file.Path
Default Value |
Cardinality | [1, 1]
Description | The input file.

### 5.10.3.2. --output-directory

Attribute | Value
--- | ---
Name | --output-directory
Type | java.nio.file.Path
Default Value |
Cardinality | [1, 1]
Description | The output directory.

### 5.10.3.3. --verbose

Attribute | Value
--- | ---
Name | --verbose
Type | com.io7m.quarrel.ext.logback.QLogLevel
Default Value | info
Cardinality | [1, 1]
Description | Set the logging level of the application.

## 5.10.4. Examples

### 5.10.4.1. Example

    $ montarre package unpack \
      --file com.io7m.montarre.distribution/target/com.io7m.montarre.distribution-0.0.1-SNAPSHOT.mpk \
      --output-directory /tmp/out2

    $ ls -alF /tmp/out2/
    total 0
    drwxr-xr-x  5 montarre   montarre   100 Oct 13 12:19 ./
    drwxrwxrwt 30 root       root       860 Oct 13 12:19 ../
    drwxr-xr-x  3 montarre   montarre    60 Oct 13 12:19 META-INF/
    drwxr-xr-x  2 montarre   montarre   660 Oct 13 12:19 lib/
    drwxr-xr-x  2 montarre   montarre   240 Oct 13 12:19 meta/

5.9. package schema
Previous
5. Command Line
Up
5.11. package validate
Next
io7m | single-page | multi-page | epub | Montarre User Manual 1.0.0-beta0001