pear

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

README

pear

Peek into archives

Supported formats:

  • ar
  • tar
  • tar in bzip2
  • tar in gzip
  • tar in xz
  • zip
  • 7z

Installation

Download the binary corresponding to your environment from the latest release.

Alternatively, install the Go toolchain, then run

go install github.com/pipe01/pear@latest

Usage

-n N
    stop after N files, or -1 for all (default 10)
-s N
    skip the first N files

Examples

$ pear archive.tar
file1
file2
dir/file3
dir/file4

$ pear -n 3 archive.tar
file1
file2
dir/file3

$ pear -s 1 -n 3 archive.tar
file2
dir/file3
dir/file4

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