3 ms·
I store a lot more than just a git repo in Dropbox. I also use it to share files, etc. But yes, I'm starting to look at alternatives. Maybe I'll develop a small
by nicoschuele 13y ago
I store a lot more than just a git repo in Dropbox. I also use it to share files, etc. But yes, I'm starting to look at alternatives. Maybe I'll develop a small utility to push/pull/share files from my home NAS upon request rather than having a continuous process running in the background.
- tluyben2 13y agoYou can also, what I did, switch dropbox off and switch it on only when you are connected to power for a sync. It's not ideal, but it works. I don't see how dropbox could do better though. If you do it manually to your NAS, you basically do the same as switching dropbox on/off or dropbox in a cronjob. Anything monitoring your file system and synching up with many small files will incur load like this.
- tommorris 13y agoI use ControlPlane - http://www.controlplaneapp.com/ http://www.controlplaneapp.com/ - which monitors your "context" (like location etc.) and lets you trigger events on context change. Just added some rules so that Dropbox quits when I'm in my "mobile" context, but reopens when I am in my "home" or "office" contexts. Will see whether it works on my commute later.
- icebraining 13y agoIt already exists, it's called git annex. It uses git to keep track of where files are (but doesn't check them in), so you can just do: $ git annex add myfile $ git annex copy --to=NAS myfile $ git annex get myotherfile $ git annex drop --from=NAS myotherfile If the NAS has rsync support, you can add it with a single command: $ git annex initremote NAS type=rsync \ rsyncurl=rsync://example.com/myrsync encryption=<gpg-email> http://git-annex.branchable.com/ http://git-annex.branchable.com/
- nicoschuele 13y agoThanks! I'm taking a look at this now.
- dalore 13y agogit repo outside of dropbox to store code and changes, but use dropbox to share project files like docs etc. Works well.