Looking for the latest version? Download zfind-1.3.jar (677.6 kB)
Name Modified Size Downloads / Week Status
Totals: 3 Items   1.4 MB 45
zfind-1.3.jar 2012-05-26 677.6 kB 4242 weekly downloads
README.md 2012-05-25 2.3 kB 22 weekly downloads
zfind-1.2.jar 2012-05-25 675.2 kB 11 weekly downloads


zfind is a fast file search utility/API for searching within archives(zip, jar etc). Supports nested archives (zip within zip)


  • Fast file search utility
  • Can search within most common archive files (ZIP, JAR, TAR, WAR, EAR etc)
  • Can search within most common compressed files (GZ, TGZ, TAR.GZ, BZ2, XZ etc)
  • Nested archives/compressed files supported (i.e. ZIP within ZIP etc)
  • Normal directory search supported
  • File name search supports regular expression pattern
  • GUI and command line support

GUI Usage

Simply double click the executable jar or type:

    java -jar zfind.jar

Command Line Usage

  1. To see a listing of all entries within a directory or archive/compressed file, use:

    java -jar zfind.jar -t [target directory or archive file]
  2. To search for a particular file name, use:

    java -jar zfind.jar -t [target directory or archive file] -f [file name to search)]
  3. To use regular expression for file search, use :

    java -jar zfind.jar -t [target directory or archive file]  -f [file name pattern)] -r
  4. To perform a case insensitive search (works with both regular file name and regex pattern), use:

    java -jar zfind.jar -t [target directory or archive file]  -f [file name to search)]  -i
    java -jar zfind.jar -t [target directory or archive file]  -f [file name pattern)] -r -i
  5. Last but not least, to see help, use :

    java -jar zfind.jar -h


    //Normal file search
    ZFinder finder=new ZFinder(new File("/path/to/target.zip"));
    List<String> allEntries=finder.getAllEntries();
    List<String> matchingEntries=finder.getMatchedEntries();

    //Regex file search

Binary build

Use maven to create the binary (zfind-RELEASE.one-jar.jar). Also available in sourceforge : https://sourceforge.net/p/zfind


zfind is covered by Apache 2.0 license. zfind internally uses Apache commons compression library and JOPT simple open source projects.

Source: README.md, updated 2012-05-25

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks