I want to run:
./my_script.py a_file &
... on all files in the current folder that end with .my_format, so I do:
.my_format
Try this find command:
find . -type f -name "*.my_format" -exec bash -c './my_script "$1" &' - '{}' \;