<?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>嘉佑中文博客 &#187; Dropbox</title>
	<atom:link href="http://pengjiayou.com/blog/tag/dropbox/feed" rel="self" type="application/rss+xml" />
	<link>http://pengjiayou.com</link>
	<description>彭嘉佑的个人博客，分享自己感兴趣的东西。</description>
	<lastBuildDate>Sun, 08 Jan 2012 02:26:42 +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>在 Nautilus 中使用 Dropbox 同步任意文件</title>
		<link>http://pengjiayou.com/blog/dropbox-usage-made-easy-in-nautilus</link>
		<comments>http://pengjiayou.com/blog/dropbox-usage-made-easy-in-nautilus#comments</comments>
		<pubDate>Sun, 13 Jun 2010 05:00:45 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[Nautilus]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/?p=2271</guid>
		<description><![CDATA[Dropbox，地球上最好的免费文件同步工具，主要用于在你自己的不同电脑（比如公司电脑和自己的笔记本之间）之间同步文件。 活在西朝鲜就是个杯具，越是优秀的国外互联网服务，越有被认证的可能性。Dropbox ，这么优秀的文件同步工具，当然未能幸免。不过， Dropbox 天生就有跟某强对抗的能力，对于整天挂 VPN 或者 SSH 端口转发的朋友来说，嘉佑表示影响不大，更何况，我早就这个功能当作网速太慢时的解决方案。 话说，我直接全屏截图，但是不想打开 GIMP 裁剪，因为 Gnome 下悲剧的没有好用的图片编辑器（至于 KDE ，昨天发现的这个 Krita 似乎够轻量，够用哟）我用的是最新的测试版本的 Dropbox for Linux 客户端，点 Indicator 上的 Dropbox 图标，进入 Preferences ，然后在 Proxies 设置你的 Socks 5 代理即可。这样你就可以摆脱某强的魔掌了。 需要提醒的是，Dropbox 从出生就是跨平台的，Windows/Mac/Linux 下都有客户端，都支持 Socks 代理。 Dropbox 的工作原理是：安装它们的客户端软件之后，自动设置一个固定目录（可更改），此目录下的所有子文件夹跟文件都会被自动双向同步到 Dropbox 服务器，当你在另外的电脑上安装 Dropbox 后，Dropbox 客户端会自动下载服务器上的文件，并双向同步。 正如上所述，你要同步 Dropbox 目录之外的文件夹跟文件，你必须将要同步的文件复制到 Dropbox 目录下才行。不过，好在 Linux 有牛逼的符号链接(symbolic link)技术，配合 Nautilus 脚本，就可以灰常方便的同步 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://pengjiayou.com/wordpress/wp-content/uploads/2010/06/Dropbox.png"><img class="alignnone size-full wp-image-2272" title="Dropbox，地球上最好的免费文件同步工具" src="http://pengjiayou.com/wordpress/wp-content/uploads/2010/06/Dropbox.png" alt="Dropbox，地球上最好的免费文件同步工具" width="290" height="75" /></a></p>
<p><a title="Dropbox，地球上最好的免费文件同步工具" href="http://www.dropbox.com" target="_blank">Dropbox</a>，地球上最好的免费文件同步工具，主要用于在你自己的不同电脑（比如公司电脑和自己的笔记本之间）之间同步文件。</p>
<p>活在西朝鲜就是个杯具，越是优秀的国外互联网服务，越有被认证的可能性。Dropbox ，这么优秀的文件同步工具，当然未能幸免。不过， Dropbox 天生就有跟某强对抗的能力，对于整天挂 VPN 或者 SSH 端口转发的朋友来说，嘉佑表示影响不大，更何况，我早就这个功能当作网速太慢时的解决方案。</p>
<p><a href="http://pengjiayou.com/wordpress/wp-content/uploads/2010/06/Screenshot-67.png"><img class="alignnone size-medium wp-image-2273" title="开启 Dropbox 的 Socks 5 代理" src="http://pengjiayou.com/wordpress/wp-content/uploads/2010/06/Screenshot-67-500x281.png" alt="开启 Dropbox 的 Socks 5 代理" width="500" height="281" /></a></p>
<p>话说，我直接全屏截图，但是不想打开 GIMP 裁剪，因为 Gnome 下悲剧的没有好用的图片编辑器（至于 KDE ，昨天发现的这个 <a title="Krita" href="http://krita.org/screenshots" target="_blank">Krita</a> 似乎够轻量，够用哟）我用的是最新的测试版本的 Dropbox for Linux 客户端，点 Indicator 上的 Dropbox 图标，进入 Preferences ，然后在 Proxies 设置你的 Socks 5 代理即可。这样你就可以摆脱某强的魔掌了。</p>
<p><span id="more-2271"></span>需要提醒的是，Dropbox 从出生就是跨平台的，Windows/Mac/Linux 下都有客户端，都支持 Socks 代理。</p>
<p>Dropbox 的工作原理是：安装它们的客户端软件之后，自动设置一个固定目录（可更改），此目录下的所有子文件夹跟文件都会被自动双向同步到 Dropbox 服务器，当你在另外的电脑上安装 Dropbox 后，Dropbox 客户端会自动下载服务器上的文件，并双向同步。</p>
<p><a href="http://pengjiayou.com/wordpress/wp-content/uploads/2010/06/ipod_in_nautilus.png"><img class="alignnone size-medium wp-image-2274" title="在 Nautilus 中同步任意文件到 Dropbox" src="http://pengjiayou.com/wordpress/wp-content/uploads/2010/06/ipod_in_nautilus-500x390.png" alt="在 Nautilus 中同步任意文件到 Dropbox" width="500" height="390" /></a></p>
<p>正如上所述，你要同步 Dropbox 目录之外的文件夹跟文件，你必须将要同步的文件复制到 Dropbox 目录下才行。不过，好在 Linux 有牛逼的符号链接(symbolic link)技术，配合 Nautilus 脚本，就可以灰常方便的同步 Dropbox 默认目录之外的文件了。如果，你要同步多个文件，以下办法省时更省力哟。</p>
<p>举个例子，如果你是在桌面上编辑一个文本文件，而且你希望通过 Dropbox 来同步，那么，通常的办法，就是你编辑好这个文本文件之后，剪切或复制到 Dropbox 目录下，如果你要修改该文本文件，很遗憾，你只有在 Dropbox 目录下修改。而如果有了符号链接，你要同步的文本文件仍然保存在桌面，只要在 Dropbox 的目录创建一个到桌面上该文本文件的符号链接即可，这样，你在桌面上修改了该文本文件，Dropbox 中会自动同步你修改后的版本。</p>
<p>以下是 Nautilus 脚本的代码：</p>
<pre>#!/bin/sh
#
# W.H. Kalpa Pathum &lt;callkalpa@gmail.com&gt;
# 1st June, 2010
#

# Dropbox directory
DROPBOX_DIR="$HOME/Dropbox/"

# creates a temporary file
file_list=$(mktemp)

# writes the URIs of the selected file to the temp file
echo $NAUTILUS_SCRIPT_SELECTED_URIS | sed 's/ \//\n/g' &gt; $file_list

# iterete through the file list
for file in $(cat $file_list)
  do
    # extract the last filed from the URI, that is the file name
    filename="$(echo $file | awk -F'/' '{print $NF}' | sed 's/%20/ /g')"

    # creates the symbolic link
    ln -s "$(pwd)/$filename" "$DROPBOX_DIR$filename"

    # sets the emblem
    gvfs-set-attribute -t stringv "$filename" metadata::emblems default
    done

exit 0</pre>
<p>脚本使用方法：</p>
<p>1. 下载以上脚本文件，直接点击这里 <a href="../../resources/nautilus-dropbox-script.sh">nautilus-dropbox-script.sh</a> 另存为</p>
<p>2. 使用 Gedit 打开 nautilus-dropbox-script.sh 文件</p>
<p>3. 替换其中的 $HOME/Dropbox/ 为你设置的 Dropbox 目录（可以是该目录下的任一子目录）</p>
<p>4. 修改后将该文件移动到 ~/.gnome2/nautilus-scripts/ 目录下</p>
<p>5. 添加可执行权限</p>
<pre>cd ~/.gnome2/nautilus-scripts</pre>
<pre>chmod +x &lt;your file name&gt;</pre>
<p>完成！接下来，演示一下吧。把桌面上的两个 PDF 文件同步到，Dropbox 目录下。</p>
<p><a href="http://pengjiayou.com/wordpress/wp-content/uploads/2010/06/Screenshot-68.png"><img class="alignnone size-medium wp-image-2275" title="Dropbox 同步文件" src="http://pengjiayou.com/wordpress/wp-content/uploads/2010/06/Screenshot-68-500x281.png" alt="Dropbox 同步文件" width="500" height="281" /></a></p>
<p>直接点右键就可以了，是不是很方便呢？</p>
<p>消息来源： <a title="Dropbox usage made easy in nautilus" href="http://kalpapathum.blogspot.com/2010/06/dropbox-usage-made-easy-in-nautilus.html" target="_blank">http://kalpapathum.blogspot.com/2010/06/dropbox-usage-made-easy-in-nautilus.html</a></p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2010/06/13 |
<a href="http://pengjiayou.com/blog/dropbox-usage-made-easy-in-nautilus#comments">9 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/dropbox-usage-made-easy-in-nautilus&title=在 Nautilus 中使用 Dropbox 同步任意文件">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/dropbox-usage-made-easy-in-nautilus">http://pengjiayou.com/blog/dropbox-usage-made-easy-in-nautilus</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/dropbox" rel="tag">Dropbox</a>, <a href="http://pengjiayou.com/blog/tag/nautilus" rel="tag">Nautilus</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/dropbox-usage-made-easy-in-nautilus/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Dropbox, 在线储存、同步、共享文件</title>
		<link>http://pengjiayou.com/blog/dropbox-store-sync-and-share-your-files-online</link>
		<comments>http://pengjiayou.com/blog/dropbox-store-sync-and-share-your-files-online#comments</comments>
		<pubDate>Mon, 15 Sep 2008 08:52:43 +0000</pubDate>
		<dc:creator>嘉佑</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[文件存储]]></category>

		<guid isPermaLink="false">http://pengjiayou.com/wordpress/?p=1180</guid>
		<description><![CDATA[Dropbox 是一个刚刚上线的文件在线存储、同步、共享服务。看了他们首页的视频介绍和图片介绍，我觉得 Dropbox 是迄今为止我发现的最优秀的文件存储服务商。Dropbox 提供免费客户端软件，开源并且跨平台，可以在 Windows，Mac OS X 和 Linux 操作系统下运行，这个客户端工具非常优秀，可以很轻松的上传你电脑上的文件到 Dropbox 并且和朋友分享。 经过两年的开发，Dropbox 的功能非常的全面，通过客户端上传的文件，比如图片，直接提供外链供朋友分享使用，而且 Dropbox 本身简洁的页面已经提供在线上传和文件管理的功能。 Dropbox 提供 2G 的免费永久存储空间，当然他们也提供收费服务。50GB Dropbox 价格为 $9.99/month，或者 $99.99/year. 值得注意的是，Dropbox for Linux(Beta) 已经发布了，对于 Fedora 9 x86 的用户，请点击这里下载Dropbox的安装文件，http://dl.getdropbox.com/u/5143/nautilus-dropbox-packages/0.4.1/nautilus-dropbox-0.4.1-1.fc9.i386.rpm 系统要求如下： GTK 2.12 or higher GLib 2.14 or higher Nautilus 2.16 or higher Libnotify 0.4.4 or higher Wget 1.10 or higher 目前的Dropbox [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="Dropbox" src="http://www.getdropbox.com/static/images/dropbox_logo_home.gif" alt="" width="261" height="74" /></p>
<p><img class="alignnone" title="Dropbox" src="http://www.getdropbox.com/static/images/tagline_home.gif" alt="" width="464" height="26" /></p>
<p><a title="Dropbox" href="http://www.getdropbox.com/" target="_blank">Dropbox</a> 是一个刚刚<a title="Dropbox 上线" href="http://blog.getdropbox.com/?p=13" target="_blank">上线</a>的文件在线存储、同步、共享服务。看了他们首页的<a title="Dropbox" href="http://www.getdropbox.com/home#screencast" target="_blank">视频介绍</a>和<a title="Dropbox Tour" href="http://www.getdropbox.com/tour#1" target="_blank">图片介绍</a>，我觉得 Dropbox 是迄今为止我发现的最优秀的文件存储服务商。Dropbox 提供免费客户端软件，开源并且跨平台，可以在 Windows，Mac OS X 和 Linux 操作系统下运行，这个客户端工具非常优秀，可以很轻松的上传你电脑上的文件到 Dropbox 并且和朋友分享。</p>
<p><span id="more-1180"></span></p>
<p>经过两年的开发，<a title="Dropbox" href="http://www.getdropbox.com/" target="_blank">Dropbox</a> 的功能非常的全面，通过客户端上传的文件，比如图片，直接提供外链供朋友分享使用，而且 Dropbox 本身简洁的页面已经提供在线上传和文件管理的功能。</p>
<p><img class="alignnone" title="Dropbox" src="http://www.getdropbox.com/static/images/tour5aa.png" alt="" width="500" height="250" /></p>
<p>Dropbox 提供 2G 的免费永久存储空间，当然他们也提供收费服务。50GB Dropbox 价格为 $9.99/month，或者 $99.99/year.</p>
<p>值得注意的是，<a title="Get Dropbox" href="http://www.getdropbox.com/install?os=linux" target="_blank">Dropbox for Linux(Beta)</a> 已经发布了，对于 Fedora 9 x86 的用户，请点击这里下载Dropbox的安装文件，<a title="Dropbox" href="http://dl.getdropbox.com/u/5143/nautilus-dropbox-packages/0.4.1/nautilus-dropbox-0.4.1-1.fc9.i386.rpm" target="_blank">http://dl.getdropbox.com/u/5143/nautilus-dropbox-packages/0.4.1/nautilus-dropbox-0.4.1-1.fc9.i386.rpm</a></p>
<p>系统要求如下：</p>
<ul>
<li>GTK 2.12 or higher</li>
<li>GLib 2.14 or higher</li>
<li>Nautilus 2.16 or higher</li>
<li>Libnotify 0.4.4 or higher</li>
<li>Wget 1.10 or higher</li>
</ul>
<p><strong>目前的Dropbox for Linux客户端只能在 GNOME 环境下使用，暂不支持 KDE ，在安装 nautilus-dropbox-0.4.1-1.fc9.i386.rpm 之后执行 $ killall nautilus 命令。</strong></p>
<p>Dropbox 的特性介绍页面：<a title="Dropbox" href="https://www.getdropbox.com/tour" target="_blank">https://www.getdropbox.com/tour</a></p>
<p>Dropbox 常见问题FAQ： <a title="Dropbox" href="http://www.getdropbox.com/faq" target="_blank">http://www.getdropbox.com/faq</a></p>
<p>我目前还有 10 个邀请，如果需要请留言！</p>
<hr />
<p>© 嘉佑 for <a href="http://pengjiayou.com">嘉佑中文博客</a> on 2008/09/15 |
<a href="http://pengjiayou.com/blog/dropbox-store-sync-and-share-your-files-online#comments">12 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://pengjiayou.com/blog/dropbox-store-sync-and-share-your-files-online&title=Dropbox, 在线储存、同步、共享文件">del.icio.us</a>
<br/>
Permalink: <a href="http://pengjiayou.com/blog/dropbox-store-sync-and-share-your-files-online">http://pengjiayou.com/blog/dropbox-store-sync-and-share-your-files-online</a>
<br />
Post tags: <a href="http://pengjiayou.com/blog/tag/dropbox" rel="tag">Dropbox</a>, <a href="http://pengjiayou.com/blog/tag/%e6%96%87%e4%bb%b6%e5%ad%98%e5%82%a8" rel="tag">文件存储</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://pengjiayou.com/blog/dropbox-store-sync-and-share-your-files-online/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

