<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>esdrasbeleza.com &#187; Transmission</title>
	<atom:link href="http://www.esdrasbeleza.com/tag/transmission/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.esdrasbeleza.com</link>
	<description>Só mais um blog do WordPress</description>
	<lastBuildDate>Fri, 13 Jan 2012 14:14:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using Automator to make your life with Transmission easier</title>
		<link>http://www.esdrasbeleza.com/2011/07/09/using-automator-to-make-your-life-with-transmission-easier/</link>
		<comments>http://www.esdrasbeleza.com/2011/07/09/using-automator-to-make-your-life-with-transmission-easier/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 19:50:49 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[torrent]]></category>
		<category><![CDATA[Transmission]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=294</guid>
		<description><![CDATA[I have two computers: a Macbook with Snow Leopard, that sometimes I carry with me, and a computer at home with an Atom processor and running Linux that is my media server and downloader. If I need to download something that will take too much time, I put this second computer to download: it has [...]]]></description>
			<content:encoded><![CDATA[<p>I have two computers: a Macbook with Snow Leopard, that sometimes I carry with me, and a computer at home with an Atom processor and running Linux that is my media server and downloader. If I need to download something that will take too much time, I put this second computer to download: it has a good connection and it&#8217;s always online.</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/transmission.jpg"><img class="aligncenter size-medium wp-image-295" title="Transmission web interface" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/transmission-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>It has Transmission running with its great web interface activated. If I need to download some torrent file, I open its web interface and upload the .torrent file. Good, but&#8230; it could be easier.</p>
<p>If you download torrent files very often, the easiest way is to use the watch-dir feature from Transmission: every torrent that you put at some directory is automatically downloaded by Transmission. So, all I needed to do was copying the torrent files from my Macbook to my home server, using SFTP.</p>
<p>To configure your Transmission watch-dir, you must stop the Transmission service (I&#8217;m running the transmission-daemon version) and edit the <strong>settings.json</strong> file, inserting the following settings:</p>
<pre class="brush: jscript; title: ; notranslate">
&quot;watch-dir&quot;: &quot;/home/mediaserver/transmission/watch&quot;,
&quot;watch-dir-enabled&quot;: true
</pre>
<p>Remember: you must stop Transmission service, edit the file and start it again!</p>
<p>It works, but&#8230; <strong>It can be even easier</strong>, I thought. And I remembered of <strong>Automator</strong>, a good piece of software that comes with Snow Leopard, and that I knew but never used before.</p>
<p><img class="aligncenter size-full wp-image-299" title="Automator Icon" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/Automator_Icon.png" alt="" width="297" height="297" /></p>
<p>The idea was: <em>every time a new .torrent file is written at my laptop&#8217;s download directory, it should be copied to my home server</em>.</p>
<p>So I opened Automator and created a new <strong>Folder Action:</strong></p>
<p><strong></strong><a href="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/Screen-shot-2011-07-09-at-16.24.05.png"><img class="aligncenter size-medium wp-image-300" title="Folder action" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/Screen-shot-2011-07-09-at-16.24.05-300x278.png" alt="" width="300" height="278" /></a></p>
<p>At the top of the new workflow, I selected my Downloads folder:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-301" title="Select folder" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/select_folder.png" alt="" width="467" height="36" /></p>
<p style="text-align: left;"> The next step in our flow is to create a script to copy our files via SSH to the computer that&#8217;s running Transmission. Use <strong>Utilities -&gt; Run Shell Script</strong> to make it:</p>
<p style="text-align: center;"><a href="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/run_script.png"><img class="aligncenter size-full wp-image-302" style="border: 1px solid black;" title="Run Shell Script" src="http://www.esdrasbeleza.com/wp-content/uploads/2011/07/run_script.png" alt="" width="380" height="506" /></a></p>
<p style="text-align: left;">Now add the following content as the script&#8217;s source code. To make it work automatically, <a title="SSH without password!" href="http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/" target="_blank">I allow my SSH server to receive connections using keys, not passwords</a>. Don&#8217;t forget to change the scp&#8217;s destination to your computer&#8217;s host and directory:</p>
<pre class="brush: bash; title: ; notranslate">
for f in &quot;$@&quot;
do
	ext=`basename &quot;$f&quot; | awk -F &quot;.&quot; '{ print $NF }'`
	if [ &quot;$ext&quot; == &quot;torrent&quot; ]; then
		scp &quot;$f&quot; root@myhostname.asdf.com:/home/transmission/watch
	fi
done
</pre>
<p>That&#8217;s it! Save your workflow and test it. Now, every time you click at a torrent file and download it, Transmission will download it automatically.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2011/07/09/using-automator-to-make-your-life-with-transmission-easier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transmission</title>
		<link>http://www.esdrasbeleza.com/2010/02/21/transmission/</link>
		<comments>http://www.esdrasbeleza.com/2010/02/21/transmission/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 18:33:59 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[BitTorrent]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Daemon]]></category>
		<category><![CDATA[torrent]]></category>
		<category><![CDATA[Transmission]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=56</guid>
		<description><![CDATA[Eu estava procurando, esses dias, um bom cliente para baixar torrents.  Queria um programa mais leve: eu estava usando o Vuze, mas para uma tarefa simplória de baixar torrents usar o Vuze é matar mosca com canhão, já que ele tem muito mais recursos do que eu realmente usava. O próprio site do Vuze já [...]]]></description>
			<content:encoded><![CDATA[<p>Eu estava procurando, esses dias, um bom cliente para baixar torrents.  Queria um programa mais leve: eu estava usando o <a href="http://www.vuze.com/" target="_blank">Vuze</a>, mas para uma tarefa simplória de baixar torrents usar o Vuze é matar mosca com canhão, já que ele tem muito mais recursos do que eu realmente usava. O próprio site do Vuze já o descreve como &#8220;o mais poderoso cliente BitTorrent do mundo&#8221;, mas eu não precisava de tamanha munição.</p>
<p>Queria um programa que pudesse rodar em background e ser controlado de outro computador, assim eu poderia, por exemplo, pôr um torrent para baixar usando o computador do trabalho e encontrar os arquivos quando chegasse em casa. No meio dessa busca, o <a href="http://www.silveiraneto.net/" target="_blank">Silveira</a> me sugeriu o <a href="http://www.transmissionbt.com/" target="_blank">Transmission</a>, e também me mandou um <a href="http://xisberto.blogspot.com/2009/02/cliente-torrent-em-background.html" target="_blank">artigo do Xisberto</a> tratando do programa.</p>
<p>O Transmission pode rodar de várias maneiras: como daemon, assim que o serviço inicia, ou como um programa comum, com interface gráfica (Qt, GTK e Mac). As interfaces são simples, porém funcionais. Abaixo, o screenshot da interface em GTK:</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/02/Screenshot-Transmission.png"><img class="aligncenter size-medium wp-image-57" title="Screenshot - Transmission" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/02/Screenshot-Transmission-300x238.png" alt="Interface GTK do Transmission" width="300" height="238" /></a></p>
<p>Também há uma interface web que pode controlar o daemon ou o cliente gráfico que você estiver usando. A interface é similar à do cliente gráfico, e baseada no look &amp; feel do Mac:</p>
<p><a href="http://www.esdrasbeleza.com/wp-content/uploads/2010/02/Screenshot-Transmission-Web-Interface.png"><img class="aligncenter size-medium wp-image-58" title="Interface web do trasmission" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/02/Screenshot-Transmission-Web-Interface-300x217.png" alt="Interface web do Transmission" width="300" height="217" /></a></p>
<p>O site do Transmission possui uma <a href="http://www.transmissionbt.com/resources.php" target="_blank">seção de add-ons</a> que vale a pena consultar. Há várias maneiras alternativas de controlar o Transmission à distância, e um <a href="http://sourceforge.net/projects/wintransmission/" target="_blank">porte do Transmission para Windows</a> a caminho.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/02/21/transmission/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.367 seconds -->

