philip / MySQLConverterTool

A MySQL Converter Tool
314 stars 144 forks source link

Cli not saving #30

Closed bannostookaylo closed 5 years ago

bannostookaylo commented 5 years ago

I followed the example and came up with this

php cli.php -d /path/to/dir -p "*.php"

I ran it and none of the files updated... I saw the contents of the file scroll by my screen but when it was done I checked the files and mysql never updated to mysqli :(

I posted on another thread but it was closed and wasn't sure since it was closed if I should make a new one thats open.

also if i do this it works but going file by file is going to suck lol there is almost 200 files in multiple sub directories

php cli.php -f filename > tmp/filename
bannostookaylo commented 5 years ago

Ah I think I see it ... I think I might need the -u flag going to try that now

bannostookaylo commented 5 years ago

That did it... if anyone else runs across this here is what i finally ran

php cli.php -d /path/to/dir -p "*.php" -u -q