I'm finding a bunch of files with find . -exec grep -l mypattern {} \;
What's the simplest, most elegant way to run a certain command separately on each of the resulting list of files?
|
I'm finding a bunch of files with What's the simplest, most elegant way to run a certain command separately on each of the resulting list of files? |
||||
|
|
|
To begin with, use:
directly instead of the What is the certain command? Probably the best and most fail-safe way would be
Exactly what you want to do is up to |
|||
|
|