Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Find named files inside jar/zip files

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 zfind

zfind - like find, but in jar/zip files

Recursively search for files contained in jar/zip files.

This isn't for searching inside the files, like zgrep, but for matching the file names themselves. For instance:

$ zfind org.apache.http.client.params.HttpClientParams ~/.m2

will search Maven's local cache for any jars containing the HttpClientParams class. It turns out the dots in the package name conveniently match slashes in the java class's name:

/home/dnorth/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar: org/apache/http/client/params/HttpClientParams.class

Ah, there it is!

Something went wrong with that request. Please try again.