Ztgrep - Recursively search through compressed tarballs and files

ztgrep

Search for file names and contents through nested archives.

Useful for finding

Supports the following compression formats for both archives and files:

  • gzip
  • bzip2
  • xz (requires xz-utils with xz CLI on $PATH)
  • zstd (requires zstd with zstd CLI on $PATH)
  • uncompressed

As well as the following archive formats:

  • Tar (V7, USTAR, PAX, GNU, STAR)
  • ZIP (with size limitation)

Nested archives and compressed files must have a recognizable file extension to be searched.

Nested ZIP files must be read into memory to be searched. By default, ZIP files larger 10 MB are not searched. The -z option may be used to specify this size limit.

Usage:
  ztgrep [OPTIONS] regexp paths...

Search Options:
  -b, --skip-body  Skip file bodies
  -n, --skip-name  Skip file names inside of tarballs

Help Options:
  -h, --help       Show this help message
Owner
Stephen Levine
Tech Lead, App Ops @ VMware Tanzu | Founder of CNCF Buildpacks (buildpacks.io)
Stephen Levine
Similar Resources

GoSearch: Search the Go packages via command-line

GoSearch Search the Go packages for pkg.go.dev via command-line. It supports all search options in Search Help. Installation go get github.com/mingram

Jun 23, 2022

This repo introduces a simple server, which provided some APIs for search DAS account's records or reverse records

Prerequisites Install Usage Others Das-Account-Indexer This repo introduces a simple server, which provided some APIs for search DAS account's records

Dec 13, 2022

Unofficial golang implementation for the pipl.com search API

Unofficial golang implementation for the pipl.com search API

go-pipl The unofficial golang wrapper for the pipl.com API. Table of Contents Installation Documentation Examples & Tests Benchmarks Code Standards Us

Nov 6, 2022

A productivity tools to diagnose list of exported URL status from Google Search Console, Analytics, Sitemap URL...etc.

google-url-checker A productivity tools to diagnose list of exported URL status from Google Search Console, Analytics, Sitemap URL...etc. A quick way

Dec 31, 2021

Commonpassword - Search for the password in the file

commonpassword service Responsible for searching the password provided in a file

Dec 30, 2021

advancedsearch is a package to help peoples make search while typing "char" by "char" in Golang.

advancedsearch is a package to help peoples make search while typing "char" by "char" in Golang. Actually he has two main functions, CompareSingleWord and CompareMultipleWords.

Feb 2, 2022

🎼 This library provides an API to search for lyrics from various providers in China.

LYRIC-GO This library provides an API to search for lyrics from various providers in China. Supported Providers KuGou Music QQ Music Netease Music Usa

May 24, 2022

Search for GitHub team posts (discussions)

go CLI to search GitHub Team Posts (Discussions) Motivation Want to search for content in GitHub team posts? Use this CLI. Usage: Get a PAT with acces

Sep 14, 2022

starenv allows populating environmental variables from variety of sources, such as AWS Parameter Store, GPG encrypted files and more, with extreme ease.

starenv (*env) allows populating environmental variables from variety of sources, such as AWS Parameter Store, GPG encrypted files and more, with extr

Nov 25, 2022
Distribute SafeSky data through WS.

safesky-ws Distribute SafeSky data through WS. How it works clients

Dec 12, 2021
Quick add or delete ASN/AS-SET to your AS-SET through RIPE RESTful API

RIPE AS-SET updater Quick add or delete ASN/AS-SET to your AS-SET through RIPE RESTful API. Requirenments You need to add "auth:" attribute in mntner

Apr 19, 2022
Search and output the value of JSON by it's path.

golang-cli Get the value of a JSON element via it's path name. Usage ======= jutil ======= Usage: jutil [-p <path>] [-v] Options: -p string

Dec 19, 2021
🚀 A command with fzf-like UI to quickly search Wikipedia articles and open it in your browser

fzwiki A command with fzf-like UI to quickly search Wikipedia articles and open it in your browser. Usage Run the command by specifying a search query

Dec 20, 2022
Simple tool to search tagged resources between all AWS resouces

Welcome to Cloud Inventory Tags ?? Simple tool to search tagged resources around all AWS Account Installation MacOS / OSX

Jan 26, 2022
An Apple Search Ads API client for Go

apple-search-ads-go is a Go client library for accessing Apple's Apple Search Ads API.

Jul 14, 2022
RawLink makes backlinks queried from ahref ready for *Google Search Console*

Raw Link This simple program makes backlinks queried from ahref ready for Google Search Console. See footnote 1 for more information. It can be used t

Dec 14, 2022
Twingly Blog Search API in Go

Twingly Search API Go A Go package for Twingly's Blog Search API. Twingly is a blog search service that provides a searchable API known as Twingly Blo

Nov 3, 2021
Experimental port of PHP faceted-search library

Experimental port of PHP k-samuel/faceted-search PHP Library https://github.com/k-samuel/faceted-search Bench v1.3.0 PHP 7.4.25 (no xdebug extension)

Sep 17, 2022
Spotify Search Microservice

SpotifySearch Service This is the SpotifySearch service Generated with micro new spotify-search Usage Generate the proto code make proto Run the ser

Nov 21, 2021