<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>상상플러스: 윈도우-euc-kr-파일명-리눅스의-utf-8로-변환에 달린 최근 댓글/트랙백 목록</title>
		<link>http://comefeel.com/tt/comefeel/</link>
		<description>웅자의 상상플러스</description>
		<language>ko</language>
		<pubDate>Wed, 08 Sep 2010 09:08:42 +0900</pubDate>
		<generator>Textcube 1.7.6 : Staccato</generator>
		<image>
		<title>상상플러스: 윈도우-euc-kr-파일명-리눅스의-utf-8로-변환에 달린 최근 댓글/트랙백 목록</title>
		<url>http://comefeel.com/tt/attach/1/1247004076.gif</url>
		<link>http://comefeel.com/tt/comefeel/</link>
		<width>150</width>
		<height>132</height>
		<description>웅자의 상상플러스</description>
		</image>
		<item>
			<title>웅쓰님의 댓글</title>
			<link>http://comefeel.com/tt/comefeel/entry/%EC%9C%88%EB%8F%84%EC%9A%B0-euc-kr-%ED%8C%8C%EC%9D%BC%EB%AA%85-%EB%A6%AC%EB%88%85%EC%8A%A4%EC%9D%98-utf-8%EB%A1%9C-%EB%B3%80%ED%99%98#comment408</link>
			<description>기계백작님 감사 ㅋㅋㅋㅋ</description>
			<author>(웅쓰)</author>
			<guid>http://comefeel.com/tt/comefeel/entry/%EC%9C%88%EB%8F%84%EC%9A%B0-euc-kr-%ED%8C%8C%EC%9D%BC%EB%AA%85-%EB%A6%AC%EB%88%85%EC%8A%A4%EC%9D%98-utf-8%EB%A1%9C-%EB%B3%80%ED%99%98#comment408</guid>
			<comments>http://comefeel.com/tt/comefeel/entry/%EC%9C%88%EB%8F%84%EC%9A%B0-euc-kr-%ED%8C%8C%EC%9D%BC%EB%AA%85-%EB%A6%AC%EB%88%85%EC%8A%A4%EC%9D%98-utf-8%EB%A1%9C-%EB%B3%80%ED%99%98#comment</comments>
			<pubDate>Thu, 25 Oct 2007 13:14:46 +0900</pubDate>
		</item>
		<item>
			<title>bomuli님의 댓글</title>
			<link>http://comefeel.com/tt/comefeel/entry/%EC%9C%88%EB%8F%84%EC%9A%B0-euc-kr-%ED%8C%8C%EC%9D%BC%EB%AA%85-%EB%A6%AC%EB%88%85%EC%8A%A4%EC%9D%98-utf-8%EB%A1%9C-%EB%B3%80%ED%99%98#comment1008</link>
			<description>살짝 고쳐서 현재 디렉토리내 모든 파일들에 일괄 적용할 수 있도록 보완했습니다.
http://kldp.org/node/38630 에도 올리고 싶지만
아이디가 없어서...
시간있으시면 부탁합니다.


사용법은 ***.sh all

#BY KLDP recypace + musiphil + bomuli 
#!/bin/sh

  # mv2utf gets at least one filename



   # Rename euc-kr filename to utf-8 filename
func()
{  
        filename=$1
   for filename

   do 

       utfname=`echo &amp;quot;$filename&amp;quot; | iconv -f euc-kr -t utf-8`;

       err=$?; 

       if [ $err -eq 0 ]

       then

               if [ &amp;quot;$filename&amp;quot; = &amp;quot;$utfname&amp;quot; ]
   
               then
   
   # if the filename is english file name

                       echo &amp;quot;$filename is not euc-kr (may be in english)&amp;quot;
               else
   # if the filename is euc-kr

                       echo &amp;quot;rename $filename : $utfname&amp;quot;;
                       mv &amp;quot;$filename&amp;quot; &amp;quot;$utfname&amp;quot;
               fi
       else

   # if the filename is not euc-kr
               echo &amp;quot;$filename is not euc-kr&amp;quot;
       fi
   done
   }



   if [ $# -eq 0 ]; then
       echo &amp;quot;Usage : $0 filename1 [filename2] .....&amp;quot;;
       echo &amp;quot;or $0 all  To change all filenames on current directory &amp;quot;;
       exit 0
   elif [ &amp;quot;$1&amp;quot; = &amp;quot;all&amp;quot; ]; then
           echo &amp;quot;Change all filenames on current directory&amp;quot;
           IFS=$&#039;\n&#039;
           for i in `find .`
           do
                   func &amp;quot;$i&amp;quot;
           done
   else
           func &amp;quot;$1&amp;quot;
   fi</description>
			<author>(bomuli)</author>
			<guid>http://comefeel.com/tt/comefeel/entry/%EC%9C%88%EB%8F%84%EC%9A%B0-euc-kr-%ED%8C%8C%EC%9D%BC%EB%AA%85-%EB%A6%AC%EB%88%85%EC%8A%A4%EC%9D%98-utf-8%EB%A1%9C-%EB%B3%80%ED%99%98#comment1008</guid>
			<comments>http://comefeel.com/tt/comefeel/entry/%EC%9C%88%EB%8F%84%EC%9A%B0-euc-kr-%ED%8C%8C%EC%9D%BC%EB%AA%85-%EB%A6%AC%EB%88%85%EC%8A%A4%EC%9D%98-utf-8%EB%A1%9C-%EB%B3%80%ED%99%98#comment</comments>
			<pubDate>Mon, 10 Mar 2008 21:59:54 +0900</pubDate>
		</item>
	</channel>
</rss>
