mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 11:51:39 +00:00
Update cheatsheets
This commit is contained in:
26
tldr/linux/patool
Normal file
26
tldr/linux/patool
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user