File: googledriveannex.mdwn

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (32 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download | duplicates (5)
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
30
31
32
googledriveannex 0.2.0
=========

Hook program for gitannex to use Google Drive as backend

# Requirements:

    python2
    python-httplib2

Credit for the googledrive api interface goes to google

# Install
Clone the git repository in your home folder.

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

This should make a ~/googledriveannex folder

# Setup
Make the file executable, and link it into PATH

    cd ~/googledriveannex; chmod +x git-annex-remote-googledrive; sudo ln -sf `pwd`/git-annex-remote-googledrive /usr/local/bin/git-annex-remote-googledrive

# Commands for gitannex:

    git annex initremote googledrive type=external externaltype=googledrive encryption=shared folder=gitannex

An oauth authentication link should now be launched in the default browser. Authenticate and you will be proved with a code.

    OAUTH='authentication code' git annex initremote googledrive type=external externaltype=googledrive encryption=shared folder=gitannex
    git annex describe googledrive "the googledrive library"