Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to tell Dropbox not to upload a certain file? (Eclipse related)

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.

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.

like image 890
tyler Avatar asked Aug 25 '12 05:08

tyler


People also ask

Does Dropbox automatically upload files?

Once you get back online, Dropbox will automatically synchronize your folders and files with all the latest changes. You can also select files to access offline on your Android or iPhone smartphone, and even your iPad.


1 Answers

Using the Official Dropbox Command Line Interface (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

like image 142
Software Engineer Avatar answered Sep 19 '22 17:09

Software Engineer