Giter VIP home page Giter VIP logo

com.bitplan.vcard's People

Contributors

wolfgangfahl avatar

Watchers

 avatar  avatar

com.bitplan.vcard's Issues

Allow backup of vcards of a user from a carddav server

To backup the vcards of a user call

java -jar vcard.jar -user <username>

e.g.
java -jar vcard.jar -user johnd

The effect will be that the vcards of the user will be downloaded from the carddav server as specified in the user's settings and saved in vcard files in the specified backup directory.

For each user e.g. John Doe (johnd)
the settings for the carddav access can be specified in an .vcard/.ini file
e.g. .vcard/johnd.ini
with the following information

  • host e.g. https://dav.doe.com
  • path e.g. /remote.php/carddav/addressbooks/johndoe/default
  • backup e.g. /Users/jd/backup/Contacts
  • username e.g. johnd
  • password e.g. uCtE0kklvnb$#9537
  • title e.g. "John Doe's address book"

so

# Properties for vcard
# JD 2019-05-04
username=johnd
password=uCtE0kklvnb$#9537
host=https://dav.bitplan.com
path= /remote.php/carddav/addressbooks/johndoe/default
backup=/Users/jd/backup/Contacts
title=John Doe's address book

is a valid ini file.

Synchronize carddav server with local vcard file copies

For a given user get the list of all VCard References (DavResource List) and check the modification state. For new and modified cards copy the vcard from the server for untouched cards load the vcard from the local backup.

A map of all VCards is available for further work after this step.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.