I'm trying to generate static html files for all php scripts inside dir:
find . -name "*.php" -exec php {} > {}.html \;
But it just dumps all results to {}.html. How to do it properly? And how to remove '.php' from filenames?
I'm trying to generate static html files for all php scripts inside dir:
find . -name "*.php" -exec php {} > {}.html \;
But it just dumps all results to {}.html. How to do it properly? And how to remove '.php' from filenames?