0
votes
2answers
395 views

How to iterate over a list of files and perform an action on them

I want to write a script (or preferably an alias) that does the following: Find all the files matching a pattern *.jar Iterate over all those files, and run jar tvf <jar file name> | grep ...