Git Product home page Git Product logo

address_book_cleaner's Introduction

Address Book (vCard) Cleaner Script

Motivation

I accidentally synched my Gmail contacts into my iPhone. This meant every person I EVER emailed was in there. Even Craigslist emails,etc. This was the same in my Mac's Address Book.
Secondly, it really,really bugs me that Address Book cannot automatically merge people with the same name.

Features

Currently, it only supports deleting vCard entries that match one of the following rules:

  1. No phone present
  2. No email present
  3. No phone or email present

I am going to work on merging contacts that have the same name downcased or something like that.

Requirements

  1. Wonderful 'highline' gem (http://github.com/JEG2/highline).
  2. Even more wonderful to make it possible 'vpim' gem (http://rubyforge.org/projects/vpim).

Use

  • Export ALL your contacts as a single vCard file. This will also act as your backup. KEEP IT!
  • run script providing exported vCard path and file name as single argument. You should probably quote it in case you have funky paths.
  • Follow instructions.
  • Delete all contacts in Address Book.
  • Import from newly created vCard file that is in the same directory as your input file.

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.