diff options
author | 2014-01-10 14:29:55 +0000 | |
---|---|---|
committer | 2014-01-10 14:29:55 +0000 | |
commit | b1ebe2f000e91936cd3bea1dd8f4404366cf5306 (patch) | |
tree | 84742cc6295aa09315fde8b3abb8c701ee59b1ac /doc/tips/skydriveannex.mdwn | |
parent | d9a74ad5a8c7daeb2db9af0fcf25662a1ff54b4a (diff) |
Diffstat (limited to 'doc/tips/skydriveannex.mdwn')
-rw-r--r-- | doc/tips/skydriveannex.mdwn | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/tips/skydriveannex.mdwn b/doc/tips/skydriveannex.mdwn index 56acdd96c..336bb4ef3 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" |