1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/patool.md
2024-11-19 07:01:02 +01:00

21 lines
565 B
Markdown

# patool
> Archive file manager.
> Various archive formats can be created, extracted, tested, listed, searched, repacked, and compared.
> More information: <https://github.com/wummel/patool>.
- Extract an archive:
`patool extract {{path/to/archive}}`
- List contents of an archive:
`patool list {{path/to/archive}}`
- Compare the contents of two archives and display the differences in the standard output:
`patool diff {{path/to/archive1}} {{path/to/archive2}}`
- Search for a string inside the contents of an archive:
`patool search {{path/to/archive}}`