有没有办法告诉Dropbox不要上传某个文件? (Eclipse相关) [英] Is there a way to tell Dropbox not to upload a certain file? (Eclipse related)

查看:117
本文介绍了有没有办法告诉Dropbox不要上传某个文件? (Eclipse相关)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在两台计算机之间同步一个代码项目,一个运行Windows,另一个运行Ubuntu 12.04。
我在两台机器上都使用Eclipse,但Eclipse生成的 .metadata 文件夹由于操作系统不兼容而导致Eclipse崩溃。

I am trying to sync a code project between two computers, one running Windows and the other running Ubuntu 12.04. I use Eclipse on both machines, but the .metadata folder produced by Eclipse is causing Eclipse to crash because of OS incompatibilities.

我想知道是否有办法告诉Dropbox忽略这个文件夹或类似的东西。或者可能会忽略所有隐藏的文件。

I was wondering if there is a way to tell Dropbox to "ignore this folder" or something like that. Or maybe have it ignore all hidden files.

推荐答案

使用官方Dropbox命令行界面(CLI)

PROMPT$ dropbox help exclude
dropbox exclude [list]
dropbox exclude add [DIRECTORY] [DIRECTORY] ...
dropbox exclude remove [DIRECTORY] [DIRECTORY] ...

"list" prints a list of directories currently excluded from syncing.
"add" adds one or more directories to the exclusion list, then resynchronizes Dropbox.
"remove" removes one or more directories from the exclusion list, then resynchronizes Dropbox.
With no arguments, executes "list".
Any specified path must be within Dropbox.

http://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli

这篇关于有没有办法告诉Dropbox不要上传某个文件? (Eclipse相关)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆