This commit is contained in:
parent
eb50fa086f
commit
21177c7f90
1 changed files with 29 additions and 0 deletions
29
doc/tips/skydriveannex.mdwn
Normal file
29
doc/tips/skydriveannex.mdwn
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
skydriveannex
|
||||||
|
=========
|
||||||
|
|
||||||
|
Hook program for gitannex to use skydrive 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"
|
Loading…
Add table
Add a link
Reference in a new issue