Synchronize notmuch mail across machines

David Mazieres a7a89af780 get rid of gratuitous include 1 month ago
doc 4a8eaa1d96 separate infinibuf.h file 3 years ago
m4 cd9858a7a8 start to bundle the file operations into a structure 3 years ago
www 3db796dc06 Merge branch 'master' of market.scs.stanford.edu:hack/repos/muchsync 2 years ago
.gitignore 7791ca2a75 man page 3 years ago
AUTHORS a0bc075752 CONVERT TO C++. 3 years ago
COPYING 2b25b2c40f update readme 3 years ago
ChangeLog a0bc075752 CONVERT TO C++. 3 years ago
Makefile.am 09b0e0b7a5 debian wheezy fixes; bump version number to 1 in anticipation of release. 2 years ago
NEWS 106be419cd cut relase 4 that works with gcc 7 4 months ago
README f95a76fbf7 update README 2 years ago
autogen.sh 759fd02266 modify autogen to fetch man page from web if no pandoc executable 2 years ago
cleanup.h 80b6a11d4e fix to work with clang 3 years ago
configure.ac 106be419cd cut relase 4 that works with gcc 7 4 months ago
design.txt d322af0cab reconcile .../new and .../cur in a more intelligent way 3 years ago
infinibuf.cc 62e3c88898 fix for gcc 7 4 months ago
infinibuf.h 3c16f97fa5 bump version to 3 6 months ago
misc.cc 3ff7ad90a3 use std::chrono instead of clock_gettime 2 years ago
misc.h 3ff7ad90a3 use std::chrono instead of clock_gettime 2 years ago
muchsync.1.md 377afd03fa update man page to provide more detail about -F 1 year ago
muchsync.cc 882101c4c7 attempt to limit memory consumption 1 year ago
muchsync.h 6026628d94 first attempt to deal with resurrected files properly 2 years ago
notmuch-wishlist.txt dce35d3af4 revise 3 years ago
notmuch_db.cc d0a904aa78 bug 2 years ago
notmuch_db.h 00384de1e5 add muchsync.and_tags option 2 years ago
protocol.cc 3c16f97fa5 bump version to 3 6 months ago
sql_db.cc 3c16f97fa5 bump version to 3 6 months ago
sql_db.h 1b36c60570 add --newid command-line option 1 year ago
sqlstmt.cc a7a89af780 get rid of gratuitous include 1 month ago
sqlstmt.h 09b0e0b7a5 debian wheezy fixes; bump version number to 1 in anticipation of release. 2 years ago
xapian_sync.cc 43ed0e7649 also work around missing fstatat and fdopendir 2 years ago

README


# Intro

Muchsync is a mail synchronizer for notmuch. The project homepage is
[www.muchsync.org](http://www.muchsync.org/).

# To get latest the muchsync software, run:

git clone http://www.muchsync.org/muchsync.git

# To build it after a git checkout, run the following:

./autogen.sh
./configure
make

[Note: you need pandoc to build the man page, otherwise `autogen.sh`
will fetch it from the web.]

# Using

Muchsync assumes that it's on your path on the server, but you can
specify the path on the command line with -r. If you are tracking a
development version, you can put a symlink to the executable in your
home directory on all machines, and then run:

~/muchsync -r ./muchsync server

Of course, initial clones are kind of slow, so you probably want to
see what's happening. You can add -vv before server to see what is
happening locally, and -vv after to see what is happening on the
server. For example:

~/muchsync -r ./muchsync -vv server -vv

# Getting started

On the server, initialize the repository by running:

muchsync -vv

On the client, to create a new replica from scratch, run one of:

muchsync --init=/path/to/new/inbox -vv server -vv

muchsync -r ./muchsync --init=/path/to/new/inbox -vv server -vv