I am searching for a .class file inside a bunch of jars.
jar tf abc.jar
works for one file. I tried
find -name \"*.jar\" | xa
You can also use unzip which is more faster than jar (-l option to print zip content).
For instance, a small script that does roughly what you want:
#!/bin/bash for i in $(find . -name "*.jar") do if [ -f $i ] then echo $i unzip -l $i | grep $* fi done