Deduping records in address book

I have many duplicate records since porting various address and email address from my PC to my new Mac. I have tried to dedup the address book by using the pulldown menu item "Look for duplicate entries". However, when I use it, Address Book crashes. I have about 10,000 total records in my address book. Is there some sort of limit or time-out that prevents address book from finding my duplicates?

I don't know why it is crashing, but quite possibly on some badly-formatted contact record. The trouble I find with AB's duplicate finding (and this may have been fixed - I am still on 10.4.9) is that it doesn't tell you which entries are duplicates, so you can't tell if you are about to merge 20 duplicate "John Smith"s - who are in fact different people.
You can try this little script, which I suspect will run very slowly with your big address book, if indeed it doesn't join Address Book in crashing - I have never tried it with more than 500. Also note it is untested on 10.4.11, so use File/Backup before trying it. If you run it as-is, it will list the duplicates it finds in the Script Editor result pane, giving you an opportunity to check before deleting. To allow it to delete, uncomment the "delete APerson" line.
AK
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Address Book"
set TheLot to {}
set Surplus to {}
set ThePeople to every person
repeat with APerson in ThePeople
if name of APerson is not in TheLot then
set TheLot to TheLot & (name of APerson)
else
set Surplus to Surplus & (name of APerson)
-- delete APerson
end if
end repeat
end tell
Surplus</pre>

Similar Messages

  • Birthdates in Calendar not same as recorded in Address Book.  e.g. entered 5 Dec 1974 in Address book but shows as 4 Dec birthdate in calendar? any suggestions please?

    Birthdates in Calendar not same as recorded in Address Book.  e.g. entered 5 Dec 1974 in Address book but shows as 4 Dec birthdate in calendar? any suggestions please?

    You might get a better response in the iSync forum, as your question is about syncing.

  • Importing records into Address Book

    I note the difficulties some have had importing records. I too am having problems. I'm trying to get my Filemaker databases into Address Book so that I can then move them to my iPod. Exporting from Filemaker is fine, and importing into Address Book appears to be. However on closer examination it isn't, as all the records have been imported but not all the fields in all the records. As the import isn't perfect, it's arguably useless.
    Anyone else had this experience? Any suggestions as to where the problem lies? And has anyone found the best way to get Filemaker databases onto iPods?
    Thanks.

    If you open Address Book, click on Card menuitem and select Edit Template. This will show you what the current template is and what fields may be added to the template.
    You can then edit the LDIF file when it's created to select only the desired export fields that will match the template.
    I believe when you then import into Address Book you will have an opportunity to match up the corresponding fields. Been so long since I did this I don't remember.

  • Duplication of Records in Address Book on iPad Sync

    I have multiple records which have been duplicated in my Address Book on my desktop Mac; I believe it has arisen since I have been synchronizing between desktop and iPad. How can I eliminate these duplicated record entries and stop this duplication?

    Here are some past threads on this problem that may help:
    http://discussions.apple.com/thread.jspa?messageID=11620245&#11620245
    http://discussions.apple.com/thread.jspa?messageID=11678878&#11678878

  • Merging dupe records in Address Book erases everything

    I selected the LOOK FOR DUPLICATE ENTRIES and MERGE DUPLICATE ENTRIES drop down menu commands in Address Book, and after merging, the process bar froze. Upon rebooting, i discovered all my address book records had been deleted . How may I retrieve them? And is this a bug in Address Book, or am i just unlucky?
    Mac Book Pro 15" Mac OS X (10.4.6)
    Mac Book Pro 15"   Mac OS X (10.4.6)  

    Quit AddressBook.
    Look if you can locate one of these files:
    youruserhome/library/application support/addressbook/
    addressbook.data
    addressbook.data.backup
    addressbook.data.previous
    Look at the sizes of these folders, duplicate them to the desktop as a precaution.
    remove addressbook.data and put it in the trash
    rename addressbook.data.previous to addressbook.data
    Now open AB again and see if this has worked.
    If it did, start using the build-in feature to make a backup (file menu)

  • Clicking on a record in address book causes it to hang and eventually crash

    There are some strange records in my Address Book that have lots of entries within that entry in the fields (not a record I created) that I'd like to delete, for every time a search ends on that record, Address Book HANGS. Sometimes from Email I can open another record using "Open in Address Book" to get out of the hang, but this is really a serious problem. How can I fix this? I try to export a backup of Address Book and it hangs. What can I do to rescue my Address Book?

    HI David,
    Try deleting this file.
    com.apple.AddressBook.plist
    ~/Library/Preferences.
    Move that file to the Trash and restart your Mac.
    Carolyn

  • Re: Address Book - drag thru and copy a record's text

    For years we've been able to open a record in Address Book and simply drag through and copy to paste into another app such as an email.  This stopped some months ago.  Is there anyway to do this today (without exporting a vCard)?
    Thanks in advance for any ideas!

    Definite progress. Assuming you are not running anything strange (plug-ins, widgets, non-standard fonts ...) (I would include Safari 4 beta as strange) in your normal login account, quit Address Book, move the ~/Library/Application Support/AddressBook/ folder and the ~/Library/Preferences/com.apple.AddressBook.plist file to the Desktop and restart Address Book and see if it behaves.
    AK

  • Address Book CSV import format

    Can someone point me to where the header record for Address Book CSV import format is documented. I'm trying to match the header record to the default template in Address Book. But I'm just guessing at what the header field labels should be, and looking at what is in the template isn't helpful. There must be Apple documentation somewhere.

    If you tell us what e-mail client on your computer, you use - that would help.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • Adding Two Addresses From One Record in an Address Book Group

    I have a Group in Address Book to which I send a weekly newsletter.  People here in the community were kind enough to tell me how to edit the group and choose which email -- some want their "home" email, others prefer I use "work" -- from individual records I use.
    Now ...
    One of the recipients would like me to send to both his home and his work email.
    When I right click on the group and go into "Edit Distribution List ..." I see the record and the various emails for each person with the bold email address being the one Mail picks up.  But it seems I can only choose one email per record.
    Any ideas how to get my Group to house (and let me email to) both the work and the home emails for the same person?
    I'm using Address Book 5.0.3 (883) and Mail 4.5 (1084) with OS X 10.6.8
    Thanks

    Rather than dragging the card in from the Address Book, start typing the person's name. Mail will give you a pop-up menu on choices. Pick one. Then repeat and pick the other. This is less convenient if you want to put someone in a group and send to both addresses in the group... in that case, V.K.'s solution is the best you'll do.

  • What is the smallest data structure record in a .TXT file record to be recognized as an Apple Address Book "Data Card"?

    Hello! This is my first time in this discussion group. The question posed is the subject line itself:
    What is the smallest data structure record in a .TXT file record to be recognized as an Apple Address Book "Data Card"?
    I'm lazy! As a math instructor with 40+ students per class per semester (pCpS), I would rather not have to create 40 data cards pCpS by hand, only to expunge that info at semester's end. My college's IS department can easily supply me with First name, Last name, and eMail address info, along with a myriad of other fields. I can manipulate those data on my end to create the necessary .TXT file, but I don't know the essential structure of that file.
    Can you help me?
    Thank you in advance.
    Bill

    Hello Bill, & welcome aboard!
    No idea what  pCpS is, sorry.
    To import a text file into Address Book, it needs to be a comma delimited .csv file, like...
    Customer Name,Company,Address1,Address2,City,State,Zip
    Customer 1,Company 1,2233 W Seventh Street,Unit 543,Seattle,WA,99099
    Customer 2,Company 2,1 Park Avenue,,New York,NY,10001
    Customer 3,Company 3,65 Loma Linda Parkway,,San Jose,CA,94321
    Customer 4,Company 4,89988 E 23rd Street,B720,Oakland,CA,99899
    Customer 5,Company 5,432 1st Avenue,,Seattle,WA,99876
    Customer 6,Company 6,76765 NE 92nd Street,,Seattle,WA,98009
    Customer 7,Company 7,8976 Poplar Street,,Coupeville,WA,98976
    Customer 8,Company 8,7677 4th Ave North,,Seattle,WA ,89876
    Customer 9,Company 9,4556 Fauntleroy Avenue,,West Seattle,WA,98987
    Customer 10,Company 10,4 Bell Street,,Cincinnati,OH,89987
    Customer 11,Company 11,4001 Beacon Ave North,,Seattle,WA,90887
    Customer 12,Company 12,63 Dehli Street,,Noida,India,898877-8879
    Customer 13,Company 13,63 Dehli Street,,Noida,India,898877-8879
    Customer 14,Company 14,63 Dehli Street,,Noida,India,898877-8879
    Customer 15,Company 15,4847 Spirit Lake Drive,,Bellevue,WA,98006
    Customer 16,Company 16,444 Clark Avenue,,West Seattle,WA,88989
    Customer 17,Company 17,6601 E Stallion,,Scottsdale,AZ,85254
    Customer 18,Company 18,801 N 34th Street,,Seattle,WA,98103
    Customer 19,Company 19,15925 SE 92nd,,Newcastle,WA,99898
    Customer 20,Company 20,3335 NW 220th,2nd Floor,Edmonds,WA,99890
    Customer 21,Company 21,444 E Greenway,,Scottsdale,AZ,85654
    Customer 22,Company 22,4 Railroad Drive,,Moclips,WA,98988
    Customer 23,Company 23,89887 E 64th,,Scottsdale,AZ,87877
    Customer 24,Company 24,15620 SE 43rd Street,,Bellevue,WA,98006
    Customer 25,Company 25,123 Smalltown,,Redmond,WA,98998
    Try Address Book Importer...
    http://www.sillybit.com/abee/

  • Address Book - duplicating a record

    One of the most basic functions of any database ever created is "Duplicate Record." The verb duplicate, not the noun. If I want to send USPS mail to ten colleagues at this address:
    John Doe
    President
    Acme, Beta and Crumhorn Widgets
    10234 Long Winding Road
    San Juan Capistrano, California 9xxxx-xxxx
    I would have to type this address ten times. I can't simple duplicate the record and change the name of the person.
    Unless I'm missing something.
    I find the whole data entry interface klunky. Also, in Touchbase, years ago, I could create a log in "Notes" of every conversation and could enter the time and date of the conversation with one click.
    I don't need 85,000 iPhone apps. I need the most basic apps to work as well as they did in 1997.
    Any enlightenment would be greatly appreciated.

    This copy/paste process does not work as there is no place to paste the file to. I've tried unsuccessfully to do this as I am interested in just an efficient way to use Address Book. I have a contact who is changing jobs - leaving a public sector job for a private sector one - but I want to keep the old information for whoever will fill the public sector post plus modify my contact's information for his new position. Otherwise the process is rather tedious and inefficient, not what I would call hallmarks of Apple products in my 20+ years experience. I've been rather impressed with the way Address Book interfaces with iWork so the idea that this application is not designed for business is ludicrous.

  • Wish list: Voice recorder & address book

    I would love to have a built-in voice recorder for recording memos. Doesn't seem that hard to do.
    I would also love to have an icon for the address book, a la OS X, instead of having to go through the phone icon.
    How about BlueTooth syncing?
    What other things would people like to see added?
    dual 2.0 GHz G5, 4 GB RAM, 2 TB HD SATA RAID   Mac OS X (10.4.10)   MacBook Pro, dual 1.25 GHz G4, iMac core Duo

    For voice memo...have you tried leaving yourself voicemail?
    You can ask Apple for iPhone changes via this link:
    http://www.apple.com/feedback/iphone.html Though if you're requesting hardware changes for iPhone v2 you may want to wait a week (or a month?)...they're probably going to be inundated right now by requests for software changes to the current iPhone.

  • Multiple values in a user record field and Address Book

    Hi
    I'm working out a method of importing multiple users into an LDAP directory on OS X 10.4.4, and I've hit an interesting snag.
    When you export a user from Workgroup Manager, any fields in the user record that contain multiple values (multiple email addresses, work phone numbers, etc) contain their values separated by commas. For example:
    username::::[email protected],[email protected]:::
    However, when I view that LDAP entry in a networked Address Book, it only displays the first value, not the second or subsequent values. I've changed the Address Book template to specify multiple emails/phone numbers, but that doesn't do it.
    If I create my own import file, and pull it into Workgroup Manager, they import correctly into the user record, so I don't think I'm doing anything wrong on the server side.
    Does anyone know how to make Address Book display all the values?
    Thanks
    Matt

    if i'm not remembering read stuff wrong, these fileds have quite alot of limitations. and i think multiple values per field is such a limitation.

  • Console error in Address Book: One record without metadata?

    3/4/08 10:58:01 AM AddressBookManager[10577] Records in database: 291
    3/4/08 10:58:01 AM AddressBookManager[10577] Records in metadata: 290
    3/4/08 10:58:01 AM AddressBookManager[10577] Records without metadata: {(
    ".C83F41CD-8F9B-4CD0-91FE-1E81FDBE154A:ABSubscriptionRecord"
    Is there a way to rebuild the database to reconcile this. Address Book is working OK I just get these messages in console (perhaps when sync wants to work?

    WARNING: I do not know if this will help.
    Quit Address Book. Look in folder ~/Library/Application Support/AddressBook and find file AddressBook-v22.abcddb. Drag it to the desktop and restart Address Book. If it helps, or doesn't make thinks worse, put the desktop copy of AddressBook-v22.abcddb in the trash, otherwise (quit AB first) put it back where it came from, overwriting the newer one.
    AK

  • Changin multiple records simultaneously in Tiger Address Book

    I have Address Book 405 (the latest for 10.4.10).
    Is there an easy way, plugin, script that will allow me to change the same field in every record to have the same value?
    For example, suppose I have every record's country to 'USA' and want to change all of them to the same thing, 'United States of America', or replace all instances of a telephone area code with another - but only in all records' 'home' telephone field; (how) can I do that?
    Thanks!
    G5 DP 2 GHz   Mac OS X (10.4.10)   No Haxies; permissions frequently repaired etc

    You do a bit of simple (relatively) AppleScripting. By way of example, if you run this script in Script Editor it will list in the Result pane all your contacts where the phone label is "mobile". It could just as simply modify the value of all matching phones:
    set OldValue to value of ThisPhone
    set OldValue to ...commands to to whatever editing you want
    set value of ThisPhone to OldValue
    but note that Address Book does not recognise sub-fields (eg area code) on the phone value.
    See this thread for an example of a script that actually changes phone numbers.
    AK
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Address Book"
    set TheList to ""
    repeat with ThisPerson in people
    repeat with ThisPhone in every phone of ThisPerson
    if label of ThisPhone is "mobile" then
    set TheList to TheList & name of ThisPerson & " " & value of ThisPhone & return
    end if
    end repeat
    end repeat
    TheList
    end tell</pre>

Maybe you are looking for

  • End of document in Safari Browser in New Ipad.

    Hi all, I have a site with a very long list. How can i go to the END OF DOCUMENT. in safari browser?

  • UDF - Removing Header Record from File

    Hi Team, In my file(File Content Conversion) to ABAP server proxy scenario... The source File structure is like this... KUNNR|Matnr|Description----->(This is Hearder Record.Each File contains this header record.) 1001|0077321|Special Materials 1002|0

  • Rumours for an Apple Tablet : interesting patent ...

    on this page : http://hrmpf.com/wordpress/48/new-apple-patents/ and most precisely this picture http://www.flickr.com/photos/hrmpf/94488372/ a finger controlable mixer. there as been a rumour than "something cooler than" a Macbook Pro or a new iBook

  • Radio buttons on Customer_H fields in Web UI

    Hi Experts, I have a requirement to include the Customer_H fields in Web UI. In the Customer_H table, there are 8 fields, which are currently used in the GUI as follows: Field 1 & 2 - Type char1 - Checkbox Fields 3 - 8 - Type char1 - 3 radio buttons

  • SharePoint 2013 Blog Site or Discussion LIst - Comment on a Comment

    Hi, Quick question.  Is anyone aware of a plug-in or feature or new blog add-in for SP 2013 that allows "comments on comments".   From what I can tell in the blog site and discussion list, you can only comment on the original comment.  You cannot com