summaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8 <TobiasTheViking@web>2014-01-10 14:31:37 +0000
committerGravatar admin <admin@branchable.com>2014-01-10 14:31:37 +0000
commite58eaa607d3fb90c5a143eb5193ea93e58db20e8 (patch)
treedf3d58002b58c3846ab58a98c4f0a3e8c79f09b3 /doc/tips
parent60649f883ae51b721189f25ed0e6a15096128550 (diff)
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/dropboxannex.mdwn9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/tips/dropboxannex.mdwn b/doc/tips/dropboxannex.mdwn
index 926e142ca..675c57d2a 100644
--- a/doc/tips/dropboxannex.mdwn
+++ b/doc/tips/dropboxannex.mdwn
@@ -6,6 +6,7 @@ Hook program for gitannex to use dropbox as backend
# Requirements:
python2
+ python-pkg-resources
Credit for the Dropbox api interface goes to Dropbox.
@@ -17,12 +18,12 @@ Clone the git repository in your home folder.
This should make a ~/dropboxannex folder
# Setup
-Run the program once to set it up.
+Make the file executable, and link it into PATH
- cd ~/dropboxannex; python2 dropboxannex.py
+ cd ~/dropboxannex; chmod +x git-annex-remote-dropbox; sudo ln -sf `pwd`/git-annex-remote-dropbox /usr/local/bin/git-annex-remote-dropbox
# 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 initremote dropbox type=external externaltype=dropbox encryption=shared folder=gitannex
git annex describe dropbox "the dropbox library"
+