Created
April 23, 2011 14:10
-
-
Save shadeslayer/938634 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * Cleanup old stuff | |
| shadeslayer@saphira ~ » rm -rf .config/syncevolution | |
| shadeslayer@saphira ~ » rm -rf .cache/syncevolution | |
| shadeslayer@saphira ~ » akonadictl stop | |
| shadeslayer@saphira ~ » rm -rf .local/share/akonadi | |
| shadeslayer@saphira ~ » rm -rf .config/akonadi/ | |
| shadeslayer@saphira ~ » rm -rf .kde/share/config/akonadi* | |
| shadeslayer@saphira ~ » akonadictl start | |
| * Add a new "Personal Contacts" Akonadi resource | |
| - Add a new addressbook to this resource via KAddressBook | |
| * syncevolution --configure --source-property evolutionsource=akonadi:?collection=N --template "google" --sync-property "username=YOUR_GMAIL_ACCOUNT" --sync-property "password=YOUR_PASS" Google addressbook | |
| --> -N = Your akonadi resource Number | |
| --> YOUR_GMAIL_ACCOUNT = you@your_google_domain | |
| --> YOUR_PASS = your google domain pass | |
| * [First Sync] Addressbook with GMail account : syncevolution --sync slow Google addressbook | |
| * [Future Sync's] syncevolution Google addressbook | |
| shadeslayer@saphira ~ » port=7000 | |
| shadeslayer@saphira ~ » username=shadeslayer | |
| shadeslayer@saphira ~ » password=sekrit | |
| shadeslayer@saphira ~ » syncevopath=/media/Data/SyncEvolution/dist | |
| shadeslayer@saphira ~ » export SYNCEVOLUTION_BACKEND_DIR=${syncevopath}/lib/syncevolution/backends | |
| shadeslayer@saphira ~ » export LD_LIBRARY_PATH=${syncevopath}/lib/:${syncevopath}/lib/syncevolution:$LD_LIBRARY_PATH | |
| shadeslayer@saphira ~ » export PATH=${syncevopath}/libexec:${syncevopath}/bin:$PATH | |
| shadeslayer@saphira ~ » export SYNCEVOLUTION_XML_CONFIG_DIR=${syncevopath}/share/syncevolution/xml | |
| shadeslayer@saphira ~ » export SYNCEVOLUTION_TEMPLATE_DIR=${syncevopath}/share/syncevolution/templates | |
| shadeslayer@saphira ~ » syncevo-dbus-server & | |
| shadeslayer@saphira ~ » syncevolution --configure \ 1 ↵ | |
| \ --template default \ | |
| \ --sync-property syncURL= \ | |
| \ --sync-property peerIsClient=1 \ | |
| \ --sync-property remoteDeviceId=${devID} \ | |
| \ --sync-property username=${username} \ | |
| \ --sync-property password=${password} \ | |
| \ --source-property uri= \ | |
| \ --source-property sync=none \ | |
| \ ${peer} | |
| shadeslayer@saphira ~ » syncevolution --configure \ | |
| \ --source-property type=kde-contacts \ | |
| \ --source-property evolutionsource=akonadi:?collection=7 \ | |
| \ ${peer} addressbook | |
| shadeslayer@saphira ~ » syncevolution --configure \ | |
| --source-property sync=two-way \ | |
| ${peer} addressbook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment