Search & Replace inside posts

포스트내의 특정 문자를 찾아 바꾸어 주는 mysql 명령구문.

update wp_posts set post_content = replace(post_content, '이놈을', '이걸로')

이리 쉬운 방법이 있는데 포스트 하나하나를 열어 고쳤으니… 무식하면 손발이 고생. :(

This entry was posted in 블로그 and tagged . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

You must be logged in to post a comment.