2024-11-19 07:01:02 +01:00
|
|
|
# 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}}`
|
|
|
|
|
2025-04-07 05:59:51 -03:00
|
|
|
- Create an archive:
|
|
|
|
|
|
|
|
`patool create {{/path/to/archive}} {{/path/to/file1}} {{/path/to/file2}} {{/path/to/dir1/}} {{/path/to/dir2/}}`
|
|
|
|
|
2024-11-19 07:01:02 +01:00
|
|
|
- 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}}`
|