diff --git a/tldr/linux/pacman-sync b/tldr/linux/pacman-sync index ddba104d..eeaeaa06 100644 --- a/tldr/linux/pacman-sync +++ b/tldr/linux/pacman-sync @@ -35,8 +35,8 @@ source: https://github.com/tldr-pages/tldr.git - [S]ynchronize and [u]pdate all packages, but ignore a specific package (can be used more than once): -`sudo pacman -Syu --ignore {{package}}` +`sudo pacman -Syu --ignore {{package1 package2 ...}}` -- Remove not installed packages and unused repositories from the cache (use the flags `Scc` to [c]lean all packages): +- Remove not installed packages and unused repositories from the cache (use the flags `Sc` to [c]lean all packages): `sudo pacman -Sc` diff --git a/tldr/linux/patool b/tldr/linux/patool new file mode 100644 index 00000000..5891b190 --- /dev/null +++ b/tldr/linux/patool @@ -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: . + +- 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}}`