git-annex/doc/tips/dropboxannex.mdwn

29 lines
660 B
Text
Raw Normal View History

2013-05-26 19:50:45 +00:00
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"