Search for specified file types and run a certain command for each file

Use the Find command to search for specified file types and run a certain command for each file

Authored by: funnyzak
Brought to you by Warp, a free terminal reimagined to work like a modern app.
path
extensions
command

Command
Copy
find -E . -iregex ".*\.(jpg|jpeg|png|bmp)" -print | xargs -n1 -I _item echo _item
Tags