<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comentários sobre: Convertendo arquivos de uma pasta de iso-8859-1 para utf-8</title>
	<atom:link href="http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/</link>
	<description>Eu, Programação e Software Livre</description>
	<lastBuildDate>Mon, 02 Aug 2010 23:33:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
	<item>
		<title>Por: Virgílio</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-562</link>
		<dc:creator>Virgílio</dc:creator>
		<pubDate>Mon, 29 Oct 2007 16:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-562</guid>
		<description>este é o link....
http://blog.mhavila.com.br/2006/09/24/codificacao-de-caractere-e-o-ubuntu-pt_br/
Novamente obrigado pela atenção.
Sds,</description>
		<content:encoded><![CDATA[<p>este é o link&#8230;.<br />
<a href="http://blog.mhavila.com.br/2006/09/24/codificacao-de-caractere-e-o-ubuntu-pt_br/" rel="nofollow">http://blog.mhavila.com.br/2006/09/24/codificacao-de-caractere-e-o-ubuntu-pt_br/</a><br />
Novamente obrigado pela atenção.<br />
Sds,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Virgílio</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-561</link>
		<dc:creator>Virgílio</dc:creator>
		<pubDate>Mon, 29 Oct 2007 15:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-561</guid>
		<description>Valeu Guilherme! Nas pesquisas que fiz encontrei também um artigo sobre isto, acho que soluciona da mesma forma, já testei e funciona, vou experimentar sua proposta também, obrigado!</description>
		<content:encoded><![CDATA[<p>Valeu Guilherme! Nas pesquisas que fiz encontrei também um artigo sobre isto, acho que soluciona da mesma forma, já testei e funciona, vou experimentar sua proposta também, obrigado!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Guilherme Junior</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-560</link>
		<dc:creator>Guilherme Junior</dc:creator>
		<pubDate>Mon, 29 Oct 2007 09:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-560</guid>
		<description>Virgílio
Dá uma olhada aqui http://www.guilhermejr.net/?p=15</description>
		<content:encoded><![CDATA[<p>Virgílio<br />
Dá uma olhada aqui <a href="http://www.guilhermejr.net/?p=15" rel="nofollow">http://www.guilhermejr.net/?p=15</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Virgílio</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-558</link>
		<dc:creator>Virgílio</dc:creator>
		<pubDate>Sun, 28 Oct 2007 14:30:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-558</guid>
		<description>olá pessoal, valeu para as dicas, agora gostaria de saber se for possível modificar a codificação do Kubuntu par que seja iso-8859-1, porque fica complicado toda vez usar este comando quando tiver arquivos criados com outros sistema operacionais, também linux.
Desde já agradeço,</description>
		<content:encoded><![CDATA[<p>olá pessoal, valeu para as dicas, agora gostaria de saber se for possível modificar a codificação do Kubuntu par que seja iso-8859-1, porque fica complicado toda vez usar este comando quando tiver arquivos criados com outros sistema operacionais, também linux.<br />
Desde já agradeço,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Sérgio Luiz Araújo Silva</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-387</link>
		<dc:creator>Sérgio Luiz Araújo Silva</dc:creator>
		<pubDate>Thu, 30 Aug 2007 22:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-387</guid>
		<description>Lendo as dicas-l descobri uma dica legal para o xargs junto com o find

ao invés de fazer 
find -type f -maxdepth 1 &#124; xargs -i iconv -f iso-8859-1 -t utf-8 {} -o {}

faça 
find -type f -maxdepth 1  -print0 &#124; xargs -0 iconv -f iso-8859-1 -t utf-8 {} -o {}

A dica é que o find ao usar o parâmetro -zero delimita os arquivos, por sua vez o xargs é 
capaz de compreender isto e assim não dará erro em arquivos com espaços no nome ou coisa parecida</description>
		<content:encoded><![CDATA[<p>Lendo as dicas-l descobri uma dica legal para o xargs junto com o find</p>
<p>ao invés de fazer<br />
find -type f -maxdepth 1 | xargs -i iconv -f iso-8859-1 -t utf-8 {} -o {}</p>
<p>faça<br />
find -type f -maxdepth 1  -print0 | xargs -0 iconv -f iso-8859-1 -t utf-8 {} -o {}</p>
<p>A dica é que o find ao usar o parâmetro -zero delimita os arquivos, por sua vez o xargs é<br />
capaz de compreender isto e assim não dará erro em arquivos com espaços no nome ou coisa parecida</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Sérgio Luiz Araújo Silva</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-330</link>
		<dc:creator>Sérgio Luiz Araújo Silva</dc:creator>
		<pubDate>Sun, 22 Jul 2007 22:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-330</guid>
		<description>Descobri este comando bastante simples:

   convmv -f iso-8859-1 -t utf-8 -r *

Ajuda do comando: http://j3e.de/linux/convmv/man/
Código fonte em perl: http://fresh.t-systems-sfr.com/unix/src/privat2/convmv-1.10.tar.gz:a/convmv-1.10/convmv</description>
		<content:encoded><![CDATA[<p>Descobri este comando bastante simples:</p>
<p>   convmv -f iso-8859-1 -t utf-8 -r *</p>
<p>Ajuda do comando: <a href="http://j3e.de/linux/convmv/man/" rel="nofollow">http://j3e.de/linux/convmv/man/</a><br />
Código fonte em perl: <a href="http://fresh.t-systems-sfr.com/unix/src/privat2/convmv-1.10.tar.gz:a/convmv-1.10/convmv" rel="nofollow">http://fresh.t-systems-sfr.com/unix/src/privat2/convmv-1.10.tar.gz:a/convmv-1.10/convmv</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Marcus Moreira</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-147</link>
		<dc:creator>Marcus Moreira</dc:creator>
		<pubDate>Tue, 29 May 2007 17:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-147</guid>
		<description>Heber,

O iconv, da forma que está sendo usado no script serve para converter a codificação do conteúdo de arquivos texto. 

O que você parece querer é converter o nome dos arquivos, para isso você precisará de um aplicativo especifico, como o convmv
Veja se esse artigo te ajuda:
http://enterprise.linux.com/enterprise/06/11/27/1549236.shtml?tid=47&amp;tid=89

Podem existir soluções ainda mais simples, se encontrar não deixe de compartilhar conosco.</description>
		<content:encoded><![CDATA[<p>Heber,</p>
<p>O iconv, da forma que está sendo usado no script serve para converter a codificação do conteúdo de arquivos texto. </p>
<p>O que você parece querer é converter o nome dos arquivos, para isso você precisará de um aplicativo especifico, como o convmv<br />
Veja se esse artigo te ajuda:<br />
<a href="http://enterprise.linux.com/enterprise/06/11/27/1549236.shtml?tid=47&amp;tid=89" rel="nofollow">http://enterprise.linux.com/enterprise/06/11/27/1549236.shtml?tid=47&amp;tid=89</a></p>
<p>Podem existir soluções ainda mais simples, se encontrar não deixe de compartilhar conosco.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Guilherme Junior</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-141</link>
		<dc:creator>Guilherme Junior</dc:creator>
		<pubDate>Sat, 26 May 2007 12:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-141</guid>
		<description>Bom, 

Acredito que esse comando só funcione para arquivos texto.</description>
		<content:encoded><![CDATA[<p>Bom, </p>
<p>Acredito que esse comando só funcione para arquivos texto.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Heber</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-140</link>
		<dc:creator>Heber</dc:creator>
		<pubDate>Sat, 26 May 2007 04:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-140</guid>
		<description>Guilherme,
Estou precisando muito de um script para converter meus arquivos iso8859-1 para utf-8.
Fiquei super animado com o seu post mas na hora que fui colocar em uso:
zumm@bistrunka:/media/dados/Música/Infantil$ convisotoutf8 Cantigas
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo
mv: objetivo `Orchestra.mp3&#039; existe, mas não é um diretório
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo
mv: objetivo `plait.txt&#039; existe, mas não é um diretório
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo
mv: objetivo `06.mp3&#039; existe, mas não é um diretório
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo
mv: objetivo `04.mp3&#039; existe, mas não é um diretório
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo
mv: objetivo `01.mp3&#039; existe, mas não é um diretório
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo
mv: objetivo `05.mp3&#039; existe, mas não é um diretório
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo
mv: objetivo `03.mp3&#039; existe, mas não é um diretório
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo
mv: objetivo `02.mp3&#039; existe, mas não é um diretório
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo
mv: objetivo `19.mp3&#039; existe, mas não é um diretório

Você teria alguma dica?
Obrigado</description>
		<content:encoded><![CDATA[<p>Guilherme,<br />
Estou precisando muito de um script para converter meus arquivos iso8859-1 para utf-8.<br />
Fiquei super animado com o seu post mas na hora que fui colocar em uso:<br />
zumm@bistrunka:/media/dados/Música/Infantil$ convisotoutf8 Cantigas<br />
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo<br />
mv: objetivo `Orchestra.mp3&#8242; existe, mas não é um diretório<br />
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo<br />
mv: objetivo `plait.txt&#8217; existe, mas não é um diretório<br />
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo<br />
mv: objetivo `06.mp3&#8242; existe, mas não é um diretório<br />
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo<br />
mv: objetivo `04.mp3&#8242; existe, mas não é um diretório<br />
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo<br />
mv: objetivo `01.mp3&#8242; existe, mas não é um diretório<br />
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo<br />
mv: objetivo `05.mp3&#8242; existe, mas não é um diretório<br />
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo<br />
mv: objetivo `03.mp3&#8242; existe, mas não é um diretório<br />
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo<br />
mv: objetivo `02.mp3&#8242; existe, mas não é um diretório<br />
/usr/local/bin/convisotoutf8: line 8: $i.utf: redirecionamento ambíguo<br />
mv: objetivo `19.mp3&#8242; existe, mas não é um diretório</p>
<p>Você teria alguma dica?<br />
Obrigado</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Tiago</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-137</link>
		<dc:creator>Tiago</dc:creator>
		<pubDate>Fri, 25 May 2007 17:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-137</guid>
		<description>Guilherme,

Shell script é tão fantastico que vc pode fazer tudo em uma linha:

find -type f -maxdepth 1 &#124; xargs -i iconv -f iso-8859-1 -t utf-8 {} -o {}

o maxdepth 1 só traz resultados do diretorio corrente. se transformar isso em uma função shell, não vai precisar fazer um if grandão desses ;-)</description>
		<content:encoded><![CDATA[<p>Guilherme,</p>
<p>Shell script é tão fantastico que vc pode fazer tudo em uma linha:</p>
<p>find -type f -maxdepth 1 | xargs -i iconv -f iso-8859-1 -t utf-8 {} -o {}</p>
<p>o maxdepth 1 só traz resultados do diretorio corrente. se transformar isso em uma função shell, não vai precisar fazer um if grandão desses <img src='http://www.guilhermejr.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Sérgio Luiz Araújo Silva</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-136</link>
		<dc:creator>Sérgio Luiz Araújo Silva</dc:creator>
		<pubDate>Fri, 25 May 2007 15:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-136</guid>
		<description>Mandou bem cara :)</description>
		<content:encoded><![CDATA[<p>Mandou bem cara <img src='http://www.guilhermejr.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Jonh Wendell</title>
		<link>http://www.guilhermejr.net/convertendo-arquivos-de-uma-pasta-de-iso-8859-1-para-utf-8/comment-page-1/#comment-135</link>
		<dc:creator>Jonh Wendell</dc:creator>
		<pubDate>Fri, 25 May 2007 14:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.guilhermejr.net/?p=60#comment-135</guid>
		<description>http://planeta.ubuntubrasil.org/post/1562</description>
		<content:encoded><![CDATA[<p><a href="http://planeta.ubuntubrasil.org/post/1562" rel="nofollow">http://planeta.ubuntubrasil.org/post/1562</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
