You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Contacts with "No Name" need a mass delete

Issue: My Contacts (Mountain Lion OS, MacBook Pro 2009) have many listed as "No Name" in the Contacts book.


- I would like to Mass Delete all "No Name" lableled Contacts, yet I have not found online here just how to do that.


- I seriously don't want to hand-delete like 1,500 contacts, that is silly.


~ Anyway, anything you can help with is appreciated. Thanks, SanibelMan / date 09-23-12 @ 6:46pm ET Indiana, USA.

MacBook Pro, OS X Mountain Lion (10.8.1)

Posted on Sep 23, 2012 3:43 PM

Reply
13 replies

Sep 23, 2012 4:45 PM in response to SanibelMan

When you say "icloud" do you mean icloud.com or "icloud" third on the left side inside of the application contacts?


If the latter is true, select the icloud contacts, (now you should see just "no name" contacts. Select one, and hit CMD+A. They should all get selected. Then you can delete them.


Make sure you have a back up of your contacts prior to doing this. Either on an iOS device or exported as vcards to your desktop.

Sep 23, 2012 5:06 PM in response to boisebimmer

Thanks boisebimmer!


I did the CMD+A to mass select "no name" Contacts. Then hit delete, I think I deleted about 105 I think.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You Wrote: 'If the latter is true, select the icloud contacts, (now you should see just "no name" contacts. Select one, and hit CMD+A. They should all get selected. Then you can delete them.'


I say: 'That solved the problem, I appreciate your help! SanibelMan @ 8:11pm ET Indiana USA.'

Sep 24, 2012 1:01 AM in response to boisebimmer

Back Again.


Didn't Quite Work. Re:Opened Case~ Need to Mass Delete an Entire Section of Contacts.

------------------------------------------

I have found that the Contacts I need to delete are listed under the "#" symbol in contacts.


There are about 2000 I am guessing, if I hit CMD+A, I simply delete the entire Mac Contact Book.


(Which happened, but luckily I had saved a Copy (Exported) to the Desktop, then Imported them back in.)

------------------------------------------

So I am open for a New Solution. Anyone?


~Thanks, SanibelMan 09-24-2012 @ 4:03am ET Indiana, USA.

Aug 22, 2013 2:40 PM in response to SanibelMan

I have just had a customer with the same problem on a massive scale. 4k real contacts and 225k 'No Name' contacts which prevented Contacts.app from starting - or at least being usable.


After some messing around I managed to get everything back with the following:


Take a backup of the entire /User/username/Library/Application Support/AddressBook folder - if the following procedure doesnt work you can just copy this back afterwards


Close the contacts app and do a restart (there are other processes that continue to run and create more No Name contacts once the app has been started once). Once restarted do not open Contacts.


Run terminal and type:


cd /User/username/Library/Application Support/AddressBook (replace username)

rm AddressBook-v22.abcddb (this filename may be different on the various flavours of MacOS - type ls -l to find the correct name)

cd MetaData


Once in this folder you will see a file per contact. In my case the files were exactly 752 bytes long (an empty contact - you MAY find your file size differs). Using the following command you can remove all files of this size from the directory:


find ./ -size 752c -print0 |xargs -0 rm


WARNING - Be careful with the above and make sure you are in the MetaData directory before running it!


For 225k contacts this took around an hour to run on an i7. Once completed you will get the prompt to type another command. You can now reopen Contacts. It may take a while to rebuild the database but everything should be back without the No Name contacts.


Hope this helps someone

Contacts with "No Name" need a mass delete

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.