Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Find named files inside jar/zip files
Python
branch: master

[dn] added readme

latest commit 0eeb4192b2
Dan North authored
Failed to load latest commit information.
README.md [dn] added readme
zfind [dn] added some docs

README.md

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.