How can I remove 300 groups from my iCloud Contacts?

My OS X Address Book started out with about 10 groups, but now iCloud.com has about 300 groups.
The replication arose because of a bug in how iCloud handles a mixture of Address Book Cards with both OS X and Windows line terminated Notes (LF vs. CRLF - it helps if you once used a typewriter).
I figured out how to convert Address Book to all LF terminated line feeds and I was able to get iCloud.com working on a different account, but my core account is stuck with 300 groups (some replicated 50 times).
I know how to delete all Cards/Contacts in iCloud.com Contacts, but, unfortunately that doesn't remove Groups. (Groups have an interesting behavior in iCloud, almost as though Apple has a special plan for them.)
I can delete Groups one at a time on iCloud.com, but that's tedious. Unfortunately deleting them on Address Book, and trusting in sync to clear up iCloud.com, is equally tedious.
Has anyone heard of a way to delete all Groups on iCloud or Address Book 6? Perhaps an AppleScript?
Has anyone heard of Apple resetting a corrupt iCloud account to clear out bad data? (I have a clean version of Address Book I can use to restart -- that, by the way, is harder than you'd think. Again because Groups are special).
Advice appreciated. If I get some free time I might take may laptop by the Genius bar and see what they say...

I figured this out. In this case I didn't care about my Contacts, I had them elsewhere. My problem was my iCloud acount was "poisoned" with massive replication of 'Groups'. Even after I deleted all the Contacts I still had hundreds of Groups to get rid of. Manual deletion was too tedious.
The answer was a simple AppleScript (I'm on ML on the machine i ran this on, so it's "contacts" rather than Address Book:
tell application "Contacts"
          repeat 50 times
                    set theGroup to group "MyGroupName"
  delete theGroup
          end repeat
save
end tell
Since I had the same Group Names replicated about 100 times each, I only had to run this about 10 times to clear them all out. When I got to smaller numbers I had to drop the repeat count. I changed the Group name as I went.
Took me about five minutes.
I'm sure an AppleScripter could turn this into a general script for removing all groups all at once. Or could get very clever, and only remove groups that had no contacts (so one could salvage the group/contact relationships).
I didn't need that. My problem has been fixed.
I think sync works a LOT better in ML than Lion btw. iCloud updated very quickly.

Similar Messages

  • How can I remove a device from my iCloud/Apple ID?

    Hi,
    I merged my dad's iphone to my Apple ID a while back because he wants to buy an app and I have some credit left over so I let him used my ID on his device. Apparently, all my contacts, pictures from photo stream, and ical are now also in his device. And all his contacts, pictures, and ical are on mines. How can I remove his device from my icloud and Apple ID WITHOUT deleting anything? Like I just don't want him to get anymore of my reminders and contacts, and pictures? Because I'm afraid taht if I remove his iphone on my icloud, all the pictures/contacts/ical that he took and went to my device too will be deleted because those are some important pictures/contacts/ical?
    I tried to manually delete some of my dad's contacts that was shared on my phone, it turns out that it got deleted on his phone as well and vice versa. How can I just completely cut him off of my icloud and ID without losing any of my and his contacts/pics/etc?

    Dr mizooo_1985 wrote:
    And i didn' erase anything,
    Hope her new BF is not a forensics expert .
      Can she see my icloud-backups???
    Not unless she knows your Apple ID/Password...or her new BF is good at forensics.
    What can i do to prevent icloud-backup to this pc???
    Same as my last answer...good luck.

  • How can I remove safari data from shared iCloud account?

    Before iOS 8 and family sharing I was using a single iCloud account shared among several Apple devices in my household.  Now that we are all using our own separate Apple Accounts I want to delete shared data from other devices that were using my iCloud account.  For example, my wife and I both have data synched with iCloud (the same account) for Safari.  Now that her phone has been switched over to her own AppleID, I want to purge the data stored in my icloud account from her device.  When I open Safari on my phone, I can see a list at the bottom of tabs that my wife had open on her phone at one time in the past.  That list will never get updated now that she is using her own account.  So how do I purge old data from other devices off my iCloud account? 

    If she's on a different account now, Safari data from the previous account should no longer be on her device.  iCloud tabs, on the other hand, will persist from a device that is no longer sharing the account for 14 days, after which they are automatically cleared.  (This is coming from iCloud, not from her device.)  You might try waiting a couple of weeks and see if they aren't automatically removed.
    If you're still concerned, you could always ask her to go to Settings>Safari and tap Clear History and Website Data.  This won't clear her iCloud tabs from your device though; you'll have to wait for that.

  • How can I remove a device from the iCloud?

    I upgraded my iPad, replacing the old one, the new one does not sync with iCloud Drive, in other words my iPhone 6 used to sync data with the previous iPad.
    I have already checked the iCloud login and made sure iCloud drive is on on both devices and made sure the app in question is also on on both devices.
    I believe the reason is because now my iCloud account shows two iPads, the old and the new one.
    How can I delete the old iPad from my iCloud account?

    After logging into iCloud, you can select devices, and then remove the old device. Have you gone on the old device and disabled iCloud Drive, or signed out of iCloud on the old iPad. That would be the easiest I believe.

  • How can I remove individual songs from my iphone 5?

    How can I remove individual songs from my iphone 5? Right now, all 2013 songs are syncing. I thought that unchecking the songs in the main itunes playlist would remove them form all devices. Apparently this does not work. Under the uphone 5 sync menu there are no selections for individual songs... only groups of songs. Am I missing something?

    I just create a playlist and sync only this playlist.
    Then just add/remove from this playlist and sync.
    Unchecking songs does other thing such as not playing them in iTunes, not syncing them to other devices and not applying changes

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • How can i remove a card from iTunes ?

    How can i remove a card from iTunes ?

    If you want to remove a credit/debit card from your account then on your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iOS device then tap on your id in Settings > iTunes & App Store and tap on 'View Apple ID' on the popup and log into your account  - that should also give you a payments link on your account's page.
    Changing payment info : Change or remove your payment information from your iTunes Store account (Apple ID)
    If you don't get the 'none' option on the payment details screen : Why can’t I select None when I edit my Apple ID payment information?

  • HT202667 how can I remove credit card from apple id ?

    i don't want to use apple id with credit card anymore i purchased enough apps for my apple device so now i wanna remove it so how can i remove credit card from apple id

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iPhone then tap on your id in Settings > iTunes & App Store and tap on 'View Apple ID' on the popup and log into your account  - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/en-gb/HT1918
    If you don't get the 'none' option on the payment details screen : http://support.apple.com/en-gb/TS5366

  • How can I remove credit card from itunes account?

    How can I remove credit card from itunes account?

    I'm not home right now, so don't have iTunes here. I am basing this on having to do this a few days ago, as well as pictures from Google Images, so things may have different names now...
    Store (dropdown at top of iTunes screen)>View my account>Edit Payment Information>In the list of types of credit cards, the one at the far right says "None." Click that.

  • How can I remove some themes from Keynote??

    How can I remove some themes from Keynote??

    What a co-incidence... I just deleted those same goodies. They were in /Library/Application Support/Keynote-folder on my machine. I just deleted the whole folder, cause there seemed to be nothing more but those downloaded files. And Keynote worked great afterwards. There seemed to be another folder for iWork09, which is not to be removed.

  • HT5622 We have two iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself

    My son and I both have iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself from finding out what he is up to during Freshers week!

    You have to use a different Apple ID for your son.
    Read this note:
    iOS 5 & iCloud Tips: Sharing an Apple ID With Your Family
    still valid for ios 7

  • I have lost my phone IMEI  Number 012546005322381, Serial Number 87******A4S, is there a way it can be tracked? Also, how can one remove the device from the itunes account

    I have lost my phone IMEI  Number 012546005322381, Serial Number 87******A4S, is there a way it can be tracked? Also, how can one remove the device from the itunes account
    <Serial Number Edited By Host>

    If you enabled Find my iPhone then you should use that. If not, I'm afraid you're out of luck for finding it. 
    To manage your devices, go to Your Account in iTunes.

  • HT201317 How can I remove Photo Stream from my PC?

    How can I remove Photo Stream from my PC?

    Go to the iCloud control panel for windows (Start>Control Panel, search for "iCloud", double-click the iCloud icon), then uncheck Photo Stream.

  • How can I remove an iPhone from my apple account

    How can I remove an iPhone from my apple account

    Hello lindaharris
    If you want to not have an association with your Apple ID and your iPhone, check out the article below for the steps to do this.
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • A friend of mine uses my apple id. he's getting same imessages beeing sent to me. how can i remove his device from my account

    a friend of mine uses mi apple id. he's getting same imessages beeing sent to me. how can i remove his device from my account

    Using FaceTime http://support.apple.com/kb/ht4319http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htmhttp://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.htmlhttp://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetimehttp://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.htmlhttp://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.htmlhttp://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/http://www.apple.com/support/systemstatus/
     Cheers, Tom

Maybe you are looking for

  • My external hard drive has been used for Time Machine, now it doesn't work on my TV?

    I bought a new external HD 3TB, I used it as a back for Time machine and also wanted to use it for watching my movies etc on my TV. The TV won't recognise any video's on the HD. Is there some reason this would happen due to using it for Time Machine?

  • Issue with bootadm after mobo upgrade

    Hi, the motherboard of one of our servers died and I decided to take this opportunity to upgrade the server. With the new mobo though, the order of the disks is different. I managed to get the system to boot by recreating the device tree, but I am st

  • Mounting drives

    Fairly generic Linux question but does my non-root user have to belong to any specific groups to be able to mount the disk drive and usb drives? Whenever I try to access one as my non-root user I get a "Not Authorized" message box (in GNOME).

  • Does the Livecache SID always have to be LCA ?

    We have installed APO Livecache with SID other than LCA and I'm being told that it has to be LCA always ? Is this true ? If it is, why is the install tool gives the option to pick a SID ? Or is there a config setting in SAP to change this default set

  • How to download english version iBooks Author from the Belgian store?

    I have downloaded Ibooks Author from the Belgian store and after looking up on prefferences I see that there are no language options.  The version I downloaded seemed to have only French language funcionalities.  I appreciate it if someone can help m