<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8381273417572092245</id><updated>2012-01-10T14:07:43.763Z</updated><category term='imagens'/><category term='ficheiros'/><title type='text'>Dicas Ubuntu</title><subtitle type='html'>Dicas úteis para Ubuntu, e Linux em geral. Sempre em &lt;a href="http://dicas-ubuntu.pt.vu"&gt;dicas-ubuntu.pt.vu&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dicas-ubuntu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8381273417572092245/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dicas-ubuntu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>António</name><uri>http://www.blogger.com/profile/13923217376096913492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8381273417572092245.post-6350745200569978771</id><published>2009-03-06T17:14:00.004Z</published><updated>2009-03-06T17:35:33.976Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='imagens'/><title type='text'>Redimensionar imagens</title><content type='html'>Ideal para redimensionar fotos para alojar online. Navegar até à pasta que contém as imagens e executar a linha de comando, neste caso para redimensionar imagens .jpg que serão substituidas  pelas resultantes da conversão.&lt;br /&gt;&lt;br /&gt;$ find . -iname "*.jpg" | xargs -l -i convert -resize 800x600 {} {}&lt;br /&gt;&lt;br /&gt;No exemplo seguinte a imagem resultante fica com o nome: 400x300-nomeoriginal.&lt;br /&gt;&lt;br /&gt;$ for image in *.jpg; do convert $image -resize 400x300 400x300-$image; done&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fontes: &lt;a href="http://www.daniweb.com/forums/thread151128.html"&gt;www.daniweb.com&lt;/a&gt; e &lt;a href="http://snippets.aktagon.com/snippets/213-Bulk-resizing-images-with-Imagemagick-"&gt;snippets.aktagon.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8381273417572092245-6350745200569978771?l=dicas-ubuntu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dicas-ubuntu.blogspot.com/feeds/6350745200569978771/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8381273417572092245&amp;postID=6350745200569978771' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8381273417572092245/posts/default/6350745200569978771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8381273417572092245/posts/default/6350745200569978771'/><link rel='alternate' type='text/html' href='http://dicas-ubuntu.blogspot.com/2009/03/redimensionar-imagens.html' title='Redimensionar imagens'/><author><name>António</name><uri>http://www.blogger.com/profile/13923217376096913492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8381273417572092245.post-7387178389984200980</id><published>2009-03-05T20:24:00.002Z</published><updated>2009-03-06T17:13:44.187Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='ficheiros'/><title type='text'>Renomear ficheiros em massa</title><content type='html'>Hoje tive um problema para fazer o upload de imagens para um site, porque a extensão estava .JPG e o site só aceitava .jpg. Solução procurar um programa que altera-se a extensão de todas as fotos que queria enviar, dos que tinha instalado não me safaram, e instalar alguma coisa só para fazer isso também não me pareceu boa ideia.&lt;br /&gt;Google... e veio até mim a solução, a consola, no terminal vá até á pasta onde estão os ficheiros a renomear e execute: (não se esqueça de tirar o $ antes de colar, falo por experiência própria)&lt;br /&gt;&lt;br /&gt;$ rename -v 's/\.JPG/\.jpg/' *.JPG&lt;br /&gt;&lt;br /&gt;Para mais informações digite:&lt;br /&gt;$ man rename&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fonte:&lt;a href="http://ubuntuforums.org/showthread.php?t=924054"&gt;Ubuntu forums&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8381273417572092245-7387178389984200980?l=dicas-ubuntu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dicas-ubuntu.blogspot.com/feeds/7387178389984200980/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8381273417572092245&amp;postID=7387178389984200980' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8381273417572092245/posts/default/7387178389984200980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8381273417572092245/posts/default/7387178389984200980'/><link rel='alternate' type='text/html' href='http://dicas-ubuntu.blogspot.com/2009/03/renomear-ficheiros-em-massa.html' title='Renomear ficheiros em massa'/><author><name>António</name><uri>http://www.blogger.com/profile/13923217376096913492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
