Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pgml/am

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

33 Commits

Repository files navigation

AM

A small command line utility for quickly and easily peeking into archives and unpacking its content.

For now it uses https://github.com/libarchive/libarchive for viewing and extracting archives.

Usage

List the content of archive.tar.gz

$ am archive.tar.gz

Extract archive.tar.gz into the current working directory

$ am -x archive.tar.gz

Extract archive.tar.gz into ~/Downloads

$ am -x archive.tar.gz -o ~/Downloads

By default am extracts the content in an archive-named directory if the top level of the archive contains several files to avoid vomitting the files all over the current directory.

Same behaviour if the root folder in the archive isn't named the same as the archive.

This can be ommited by:

$ am -x archive.tar.gz -p

Supported Formats

Everything that libarchive supports

https://github.com/libarchive/libarchive?tab=readme-ov-file#supported-formats

Dependencies:

Debian / Ubuntu

sudo apt install gcc make pkg-config libarchive-dev

Fedora / RHEL

sudo dnf install gcc make pkgconf-pkg-config libarchive-devel

Manual installation

git clone https://github.com/pgml/am
cd am
make
make install

About

[MOVED TO CODEBERG] Peek quickly into any archive or unpack it easily

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /