diff options
author | https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8 <TobiasTheViking@web> | 2014-01-10 14:31:08 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-01-10 14:31:08 +0000 |
commit | 60649f883ae51b721189f25ed0e6a15096128550 (patch) | |
tree | 4867b0ff56992c86be645b7a73d73e7af11c5300 /doc/tips | |
parent | 3523f376b80e4f263592a0ffb0bfc806960cbda9 (diff) |
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/owncloudannex.mdwn | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/tips/owncloudannex.mdwn b/doc/tips/owncloudannex.mdwn index ad40c67e3..e36039b81 100644 --- a/doc/tips/owncloudannex.mdwn +++ b/doc/tips/owncloudannex.mdwn @@ -6,8 +6,9 @@ Hook program for gitannex to use owncloud as backend # Requirements: python2 + python-requests -Credit for the Owncloud api interface goes to me. +Credit for the webdav api interface goes to https://launchpad.net/python-webdav-lib # Install Clone the git repository in your home folder. @@ -17,12 +18,11 @@ Clone the git repository in your home folder. This should make a ~/owncloudannex folder # Setup -Run the program once to set it up. +Make the file executable, and link it into PATH - cd ~/owncloudannex; python2 owncloudannex.py + cd ~/owncloudannex; chmod +x git-annex-remote-owncloud; sudo ln -sf `pwd`/git-annex-remote-owncloud /usr/local/bin/git-annex-remote-owncloud # Commands for gitannex: - git config annex.owncloud-hook '/usr/bin/python2 ~/owncloudannex/owncloudannex.py' - git annex initremote owncloud type=hook hooktype=owncloud encryption=shared - git annex describe owncloud "the owncloud library" + USERNAME="login" PASSWORD="password" git annex initremote owncloud type=external externaltype=owncloud encryption=shared folder=gitannex url="https://host/remote.php/webdav/" + git annex describe dropbox "the owncloud library" |