Run a command on every file found by find


find . -name "*something*" -exec file {} \;

Tags:  bash

Share: