I have some php scrits in a subfolder and want to run some of them (found by a regular expression) via command line.
Here is what I have so far:
find . -name email[^T]*\.php -print0 | xargs -0 -t -r /usr/local/bin/php
unfortunately only the first php script is executed.
Is there a way to tell xargs to execute the /usr/local/bin/php command on a per file basis?