I\'m trying to construct a find command to process a bunch of files in a directory using two different executables. Unfortunately, -exec on find doesn\'t allow
Using find command for this type of a task is maybe not the best alternative. I use the following command frequently to find files that contain the requested information:
for i in dist/*.jar; do echo ">> $i"; jar -tf "$i" | grep BeanException; done