summaryrefslogtreecommitdiff
path: root/doc/tips/skydriveannex.mdwn
blob: 56acdd96c191607e7c592f695e8e1285dc6a8ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
skydriveannex
=========

Hook program for gitannex to use [skydrive](http://en.wikipedia.org/wiki/SkyDrive) (previously *Windows Live SkyDrive* and *Windows Live Folders*) as backend

# Requirements:

    python2
    python-yaml

Credit for the Skydrive api interface goes to https://github.com/mk-fg/python-skydrive

# Install
Clone the git repository in your home folder.

    git clone git://github.com/TobiasTheViking/skydriveannex.git 

This should make a ~/skydriveannex folder

# Setup
Run the program once to set it up.

    cd ~/skydriveannex; python2 skydriveannex.py

# 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 describe skydrive "the skydrive library"