1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-06 16:56:46 +02:00
tldr/pages/linux/patool.md
2025-07-20 22:03:17 +05:30

25 lines
686 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}}`
- Create an archive:
`patool create {{path/to/archive}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- 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}}`