Rich:

You can use 'jar -tvf jarfile.jar | grep "search_key_string"' to search a particular file in a jar file. For a directory, you can write your own shell script to list jar files in a loop then do the above search. So you have your own shell script as the jar searching utility.

Daniel Zhang

Richard O. Hammer wrote:

I find myself looking at a directory full of jar files and I want to know which, if any, of these jars contains a particular file, which I know by name. Is there some utility to help me with this?

Thanks
Rich Hammer

_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org



_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to