summaryrefslogtreecommitdiff
path: root/doc/tips/imapannex.mdwn
blob: 594687db498f2cc5b05673d35d81c0351e072c28 (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
imapannex
=========

Hook program for gitannex to use imap as backend

# Requirements:

    python2

# Install
Clone the git repository in your home folder.

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

This should make a ~/imapannex folder

# Setup
Run the program once to set it up.

    cd ~/imapannex; python2 imapannex.py

# Commands for gitannex:

    git config annex.imap-hook '/usr/bin/python2 ~/imapannex/imapannex.py'
    git annex initremote imap type=hook hooktype=imap encryption=shared
    git annex describe imap "the imap library"
    git annex content imap exclude=largerthan=30mb