https://github.com/morganamilo/paccat
Print pacman package files
https://github.com/morganamilo/paccat
alpm arch archlinux hacktoberfest pacman
Last synced: 7 months ago
JSON representation
Print pacman package files
- Host: GitHub
- URL: https://github.com/morganamilo/paccat
- Owner: Morganamilo
- License: gpl-3.0
- Created: 2021-10-14T00:37:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-06-28T11:59:54.000Z (9 months ago)
- Last Synced: 2025-07-28T11:55:02.093Z (8 months ago)
- Topics: alpm, arch, archlinux, hacktoberfest, pacman
- Language: Rust
- Homepage:
- Size: 186 KB
- Stars: 36
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Paccat
Print pacman package files
# Usage
```
paccat [options]
paccat [options] --
paccat [options] -
paccat [options] - [targets] --
```
a target can be specified as ``, `/`, `` or ``.
Files can be specified as just the filename or the full path.
## Examples
`paccat grub etc/default/grub`
Print the contents of 'etc/default/grub' from the grub package.
---
`paccat pacman pacman.conf`
Print the contents of the first file named 'pacman.conf' from the pacman package.
---
`paccat -F pacman.conf`
Print the contents of the first file named 'pacman.conf' in the repos
---
`paccat -x pacman mkinitcpio -- '\\.conf$'`
Print the contents of all files ending in '.conf' from both the pacman and mkinitcpio packages.
---
`paccat ~/pkgs/my-pkg-1.0.0-1.pkg.tar.zst myfile`
Print the contents of 'myfile' from a package tarball.
---
`paccat https://archlinux.org/packages/extra/x86_64/git/download git-blame.1.gz`
Download and print the contents of 'git-blame.1.gz' from the git package.";