-
Notifications
You must be signed in to change notification settings - Fork 144
Д. Безбородов edited this page Oct 30, 2018
·
4 revisions
By default, the CLI tool directs output to STDOUT. It does not actually alter the file. In order to alter the file, one may use the following command below. Note that sponge
is within the moreutils
package, and will need to be installed on your system beforehand.
find . -name '*.php' -exec sh -c "php ~/MySQLConverterTool-master/cli.php -f {} | sponge {}" \;
Use with care.