tarp

command module
v0.0.0-...-b511597 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

tarp

For example, you might want to sum the size of files in a tar file without doing string surgery.

tarp < example.tar | jq .Size | paste -sd+ - | bc
77857283

Or you might want to view some information that tar -tv hides from you, like PAX records:

< go-1.22-1.22.2-r1.apk gunzip | tarp | jq .PAXRecords | head
null
null
null
null
{
  "APK-TOOLS.checksum.SHA1": "773011eb6962b1bd6cfd190351484b9787656e17"
}
{
  "APK-TOOLS.checksum.SHA1": "99649e3820655d0ba3c612207c4d23c6e53a5874"
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL