Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implement Dropbox .gitignore

Tags:

git

dropbox

I use dropbox to store all my documents, including my programming projects. The only drawback there is to using it is the fact that it syncs all the useless dependencies. Unfortunately, there is no such things as a .dropboxignore file. Would it be possible to implement this functionality myself using the .gitignore file I already have? I want it to be completely automagical.

Thanks

like image 996
Rugen Heidbuchel Avatar asked Sep 06 '18 15:09

Rugen Heidbuchel


People also ask

How do I stop Dropbox from syncing?

Stop syncing Click the Dropbox icon in your taskbar (Windows) or menu bar (Mac). At the bottom of the window that appears, there's a bar with text that says Your files are up to date, Syncing [filename], or Syncing [x] files. Hover over that text. While you're hovering, the text changes to Pause file sync.


1 Answers

There's a great article written by someone who was experiencing similar frustrations with dropbox as you are.

In the article, Peter describes two solutions:

  • DropboxIgnore - a small bash script which uses the Dropbox CLI to ignore files, only available for Linux.

  • .dbignore - a .gitignore-like solution, only available for mac OS

    • Note: This solution is no longer supported nor maintained

Please note that I have not used these products, nor do I have any affiliation with the developers.

like image 92
Trent Avatar answered Oct 22 '22 23:10

Trent