linux

Total 136
Today 0
profile_image
ino
05-03-10 10:44 0개 2,816회
소스내의 문자열 일괄변경 하기
cd public_html

grep "test.com" * -r | less



find ./ -type f \( -iregex ".*\.php?" -o -iregex ".*\.html?" -o -iregex ".*\.cgi" \) \

-exec perl -p -i -e 's|test.com|ino.pe.kr|g' {} \;

-> php, html, cgi 의 소스중에 test.. ino.pe.kr 로 변경

댓글목록

등록된 댓글이 없습니다.