diff options
author | https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8 <TobiasTheViking@web> | 2014-01-10 14:31:37 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-01-10 14:31:37 +0000 |
commit | e58eaa607d3fb90c5a143eb5193ea93e58db20e8 (patch) | |
tree | df3d58002b58c3846ab58a98c4f0a3e8c79f09b3 | |
parent | 60649f883ae51b721189f25ed0e6a15096128550 (diff) |
-rw-r--r-- | doc/tips/dropboxannex.mdwn | 9 |
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" + |