develog

[linux] 파일 내용 일괄 변경 본문

카테고리 없음

[linux] 파일 내용 일괄 변경

냐옴 2019. 10. 1. 11:16

'aa.txt' 파일의 내용 중 ko-loc 를 KO-LOC 로 변경한다

find . -name 'aa.txt' -exec perl -pi -e 's/ko-loc/KO-LOC/g' {} \;
Comments