The usual way is to use a pipe: find . -name ‘*.jpg’ | while read f do; some_command "$f" done There are two problems here. First, this won’t work if paths have spaces or other blank characters in them. Second,… Read More
Tips and Tricks for DevOps Engineers
The usual way is to use a pipe: find . -name ‘*.jpg’ | while read f do; some_command "$f" done There are two problems here. First, this won’t work if paths have spaces or other blank characters in them. Second,… Read More