1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/asar.md

21 lines
423 B
Markdown
Raw Normal View History

2018-09-09 16:15:25 +02:00
# asar
> A file archiver for the Electron platform.
> More information: <https://github.com/electron/asar>.
2018-09-09 16:15:25 +02:00
- Archive a file or directory:
2018-09-09 16:15:25 +02:00
`asar pack {{path/to/file_or_directory}} {{archived.asar}}`
2018-09-09 16:15:25 +02:00
- 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:
2018-09-09 16:15:25 +02:00
`asar list {{archived.asar}}`