From bbd3dea531ce9f8a59af29f2e1df2ce75b9a8706 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8" Date: Fri, 10 Jan 2014 14:29:55 +0000 Subject: [PATCH] --- doc/tips/skydriveannex.mdwn | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/tips/skydriveannex.mdwn b/doc/tips/skydriveannex.mdwn index 56acdd96c1..336bb4ef3a 100644 --- a/doc/tips/skydriveannex.mdwn +++ b/doc/tips/skydriveannex.mdwn @@ -18,12 +18,15 @@ Clone the git repository in your home folder. This should make a ~/skydriveannex folder # Setup -Run the program once to set it up. +Make the file executable, and link it into PATH - cd ~/skydriveannex; python2 skydriveannex.py + cd ~/skydriveannex; chmod +x git-annex-remote-skydrive; sudo ln -sf `pwd`/git-annex-remote-skydrive /usr/local/bin/git-annex-remote-skydrive # Commands for gitannex: - git config annex.skydrive-hook '/usr/bin/python2 ~/skydriveannex/skydriveannex.py' - git annex initremote skydrive type=hook hooktype=skydrive encryption=shared + git annex initremote skydrive type=external externaltype=skydrive encryption=shared folder=gitannex + +An oauth authentication link should now be launched in the default browser. Authenticate, and use the last url as OAUTH key. + + OAUTH='URL after last redirect' git annex initremote skydrive type=external externaltype=skydrive encryption=shared folder=gitannex git annex describe skydrive "the skydrive library"