Find and Execute
find . -exec cmd -option1 -option2 — {} +
or
find . -print0 | xargs -0 cmd -option1 -option2 — |
For example:
find . -name “*.bkp” -exec ls -l {} +
Rule the world!
This post is licensed under
CC BY 4.0
by the author.