---
title: "java 版文件内容搜索工具"
author: "zwhc"
date: "2011-07-28T14:53:26Z"
tags: []
categories: ["编程语言"]
slug: "java"
draft: false
lastmod: "2011-07-28T14:53:26Z"
id: 1134844
url: "https://zwhc.iteye.com/blog/1134844"
---

java 版文件内容搜索工具
fsgrep
http://sourceforge.net/projects/fsgrep/
Fsgrep is a simple Java application which allows a user tosearch all files in a directory structure for lines matchinga given pattern. Its functionality is a combination of theUnix find and grep utilities.

http://ncu.dl.sourceforge.net/project/fsgrep/fsgrep/3.0.2/fsgrep-3.0.2.jar

使用：
java -jar fsgrep-3.0.2.jar


试了一下，很不错。