summaryrefslogtreecommitdiff
path: root/doc/tips/dropboxannex.mdwn
blob: 926e142ca90ce2afe8262c4b530907970c328daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
dropboxannex
=========

Hook program for gitannex to use dropbox as backend

# Requirements:

    python2

Credit for the Dropbox api interface goes to Dropbox.

# Install
Clone the git repository in your home folder.

    git clone git://github.com/TobiasTheViking/dropboxannex.git 

This should make a ~/dropboxannex folder

# Setup
Run the program once to set it up.

    cd ~/dropboxannex; python2 dropboxannex.py

# Commands for gitannex:

    git config annex.dropbox-hook '/usr/bin/python2 ~/dropboxannex/dropboxannex.py'
    git annex initremote dropbox type=hook hooktype=dropbox encryption=shared
    git annex describe dropbox "the dropbox library"