Created
July 17, 2015 13:54
-
-
Save chestozo/7c82ba404a3c1bfae310 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -u root -D ‘yourdatabase’ -e “UPDATE wp_posts SET post_content=’`cat your-local-file.html | perl -i -pe “s/’/\\\\\\’/g”`’ WHERE ID=6826" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment