tools: rename fpack/funpack into fpk create/extract/list
This commit is contained in:
@@ -14,17 +14,20 @@ build.bat debug release tools # Windows
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
fpack [-o output.fpk] [-p] [-q] [-v] input_dir
|
||||
funpack [-d output_dir] [-l] [-p] [-q] [-v] input.fpk
|
||||
fpk create [-o output.fpk] [-p] [-q] [-v] input_dir
|
||||
fpk extract [-d output_dir] [-p] [-q] [-v] input.fpk
|
||||
fpk list input.fpk
|
||||
```
|
||||
|
||||
`fpack` walks `input_dir` recursively (skipping dotfiles) and writes an
|
||||
archive. If `-o` is omitted, the output name is derived from the input
|
||||
directory's basename plus `.fpk` (e.g. `assets/` -> `assets.fpk`).
|
||||
`create` (alias `c`) walks `input_dir` recursively (skipping dotfiles) and
|
||||
writes an archive. If `-o` is omitted, the output name is derived from the
|
||||
input directory's basename plus `.fpk` (e.g. `assets/` -> `assets.fpk`).
|
||||
|
||||
`funpack` extracts (or, with `-l`, lists) the entries in `input.fpk`. If
|
||||
`-d` is omitted, the output directory is derived from the archive's
|
||||
basename with `.fpk` stripped (e.g. `assets.fpk` -> `assets/`).
|
||||
`extract` (alias `x`) extracts the entries in `input.fpk`. If `-d` is
|
||||
omitted, the output directory is derived from the archive's basename with
|
||||
`.fpk` stripped (e.g. `assets.fpk` -> `assets/`).
|
||||
|
||||
`list` (alias `t`) prints the entries in `input.fpk` without extracting.
|
||||
|
||||
Common flags: `-p` show progress, `-q` suppress the summary line, `-v`
|
||||
print each entry as it's processed.
|
||||
|
||||
Reference in New Issue
Block a user