1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 19:45:09 +02:00
tldr/pages/common/asar.md
Marco Bonelli f79f6011e0 Refactor: add missing or_directory where needed.
This commit adds the missing `_or_directory` to any example which is
specifying an action affecting a file or a directory, but uses the
token `{{path/to/file}}` instead of `{{path/to/file_or_directory}}`.
2019-02-08 19:43:24 +00:00

19 lines
367 B
Markdown

# asar
> A file archiver for the Electron platform.
- Archive a file or directory:
`asar pack {{path/to/file_or_directory}} {{archived.asar}}`
- Extract an archive:
`asar extract {{archived.asar}}`
- Extract a specific file from an archive:
`asar extract-file {{archived.asar}} {{file}}`
- List the contents of an archive file:
`asar list {{archived.asar}}`