mulder's it blog

  • Home
  • Tag
  • MediaLog
  • LocationLog
  • Guestbook
  • Admin
  • Write

SED 2

SED를 이용한 파일내 문자열 일괄 변환

텍스트파일을 다루거나, 개발자라면 자주 만나는 작업입니다.sed 를 이용하여 한방에...ref : http://unix.stackexchange.com/questions/159367/using-sed-to-find-and-replaceref : http://www.brunolinux.com/02-The_Terminal/Find_and%20Replace_with_Sed.html replace string in the file : by SED (Stream EDitor) A512.html 안의 모든 411 문자열을 512 로 바꾼다. (1회 수행하려면 g 를 제외)ex) sed -i -e 's/411/512/g' ./A512.html find 를 이용한 확장 사용 (다중 파일처리)$ find /home/da..

편하게 살자 2015.12.04

find sed를 이용한 파일내 문자열 일괄 바꾸기

원하는 폴더이하의 원하는 파일의 원하는 단어패턴을 교체하기find . -name *.txt -exec sed -i~ 's/old-pattern/new-pattern/g' '{}' '+'

편하게 살자 2014.04.28
이전
1
다음
더보기
프로필사진

mulder's it blog

github : https://github.com/mulderu gist : https://gist.github.com/mulderu

  • 분류 전체보기 (578)
    • cms (0)
      • wordpress (0)
    • Deep Learning (4)
    • Golf (9)
    • Good (18)
    • 프로그램 (35)
      • angularjs (2)
      • hybrid app (2)
      • web (13)
      • nosql (4)
      • spring (17)
      • joomla (2)
      • database (45)
      • jQuery (31)
      • 바로쓰는델파이 (5)
      • 델파이 (1)
      • script (70)
      • java (41)
      • struts 1.x (4)
      • struts 2.x (1)
      • flex (6)
      • android (2)
      • iphone (3)
      • ubuntu (10)
      • node (4)
      • websocket (1)
      • jeasyui (5)
      • python (2)
      • vuejs (3)
    • unix (30)
    • aws (7)
    • 윈도우즈 (6)
    • ASP (4)
    • 자전거홀릭 (13)
    • 링크 (2)
      • current (2)
    • 멀더가 사는 모습 (33)
    • 편하게 살자 (61)
    • 캠핑 (9)
    • zimbra (6)
    • tomcat (7)
    • mail (4)
    • private (0)
    • 맛집.멋집.스크랩 (3)
    • docker (1)

Tag

SQLServer, AWS, Servlet, 자전거, JavaScript, easyui, ubuntu, ant, tomcat, jQuery, spring, jquery widget, apache, Find, bash, springMVC, EC2, SVN, MySQL, Java,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • 멀더의 세상에 대해서

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • 멀더가 보는 세상
  • Jay's Laboratory
  • 조대협의 블로그

티스토리툴바