메뉴 건너뛰기

리눅스 관련 모음

본문시작

조회 수 4009 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

국산 통나무 수공예 남원제기, 남원목기

자료가 도움이 되셨다면
혼수용품제수용품 필요시
남원제기 공식 홈페이지 http://남원제기.kr
남원목기 공식 홈페이지 http://otchil.kr
에서 구매 해 주세요
정성껏 모시겠습니다.
 

아래와 같은 스크립트를 kr2utf.sh 라는 파일로 만든 후 퍼미션에 실행권한을 준다.

파일은 첨부 파일로 첨부 했다.


1.
#!/bin/bash
iconv -c -f euc-kr -t utf-8 $1 > $1.tmp && mv $1.tmp $1


2.

프롬프트 쉘 상에서 다음과 같이 명령하면 해당 디렉토리에 있는 모든php, txt, html, htm, js, css 등의 파일을

euc-kr -> utf-8로 한방에 변환 할 수 이다.


]# for i in `find . \( -name '*.php' -o -name '*.htm' -o -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.sql' -o -name '*.txt' \) -print` ; do ./e2u.sh $i ; done


***  위의 `find .  대신에  원하는 대렉토리를 대입하면 된다.  `find /usr/local \(-name .......... 처럼.


   

  1. cpanm

    Date2011.04.04 By햇빛소년 Views47602
    Read More
  2. crontab 설정

    Date2011.05.12 By햇빛소년 Views45058
    Read More
  3. DCC+razor2+pyzor how to ---[ spamassassin -D <test 2>debug ]

    Date2012.05.31 Category설치관련 By햇빛소년 Views31628
    Read More
  4. DCC관련 명령어 모음

    Date2012.06.02 By햇빛소년 Views43926
    Read More
  5. DCC로 안티스팸 기능 확장하기

    Date2011.03.18 By햇빛소년 Views51329
    Read More
  6. dnssec-keygen 사용법 및 구축과 검증

    Date2013.06.07 Category설치관련 By햇빛소년 Views24040
    Read More
  7. dovecot 설치 후 squirrelmail 가동하면 /.imap/INBOX, group=12(mail)) failed: Operation not permitted

    Date2013.06.30 Category에러해결 By햇빛소년 Views19283
    Read More
  8. eaccelerator.c:66:23: error: php_logos.h: 그런 파일이나 디렉터리가 없습니다.

    Date2014.02.28 Category에러해결 By햇빛소년 Views9609
    Read More
  9. error on line at column Input is not proper UTF-8, indicate encoding !

    Date2013.12.26 Category에러해결 By햇빛소년 Views4631
    Read More
  10. error: wrong mysql library version or lib not found.

    Date2014.03.16 Category에러해결 By햇빛소년 Views16585
    Read More
  11. euckr <-> utf8 일괄 변환...php, txt, html, htm, js, css 등등

    Date2014.03.09 Category설치관련 By햇빛소년 Views4009
    Read More
  12. firefox 재 시작시 특정 사이트만 자동로그인이 풀릴 때

    Date2016.07.11 Category설정 및 사용법 By햇빛소년 Views1288
    Read More
  13. HTML <meta> Tag

    Date2013.12.26 Category에러해결 By햇빛소년 Views11367
    Read More
  14. html 문자 및 문단과련 기본테그

    Date2014.04.14 Category설치관련 By햇빛소년 Views5092
    Read More
  15. html코딩 dtd선언 - <!DOCTYPE HTML PUBLIC

    Date2014.07.21 Category설치관련 By햇빛소년 Views4729
    Read More
  16. HTML태그+++JavaScript +객체 +정리 [펌]

    Date2014.04.14 Category설치관련 By햇빛소년 Views42476
    Read More
  17. httpd 서비스는 chkconfig 를 지원하지 않습니다.

    Date2014.10.25 Category에러해결 By햇빛소년 Views4675
    Read More
  18. httpd 스크립트 - /etc/rc.d

    Date2011.05.01 By햇빛소년 Views51812
    Read More
  19. httpd-2.4.4 httpd.conf 설정 옵션 변경.

    Date2013.06.13 Category설치관련 By햇빛소년 Views14021
    Read More
  20. httpd: undefined symbol: apr_procattr_perms_set_register 에러 해결

    Date2018.12.04 Category에러해결 By햇빛소년 Views3278
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10