Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Deleting multiple or all contacts

    Reply
    v2px | # 1 | 2013-12-17, 16:41 | Report

    Hi,

    I just imported the contacts from my old Galaxy Nexus and didn't realize that it had exported every contact I have on Google and Google+.
    I now have around 1500 contacts in the people app on my Jolla.. Damn.
    Can anyone point me to the option to delete multiple contacts at once or even the whole list, to start over?
    Thanks!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rainisto | # 2 | 2013-12-17, 16:56 | Report

    multiselect delete is coming at later updates.

    In a meanwhile in developermode, you can either nuke the database or edit it (you need to devel-su as root).

    sqlite3 /home/nemo/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db

    Or if you dont want to enable developer mode, you can do factory reset and start the whole config and install process from scratch.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 9 Users Say Thank You to rainisto For This Useful Post:
    cquence, Fuzzillogic, Iryus, mattaustin, mdengler, rcolistete, Schturman, shining235, v2px

     
    v2px | # 3 | 2013-12-17, 17:06 | Report

    Nuking the database helped. Thanks! That was the answer I was hoping for - I just couldn't find the darn file.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gurdeep409 | # 4 | 2013-12-21, 23:21 | Report

    Originally Posted by rainisto View Post
    multiselect delete is coming at later updates.

    In a meanwhile in developermode, you can either nuke the database or edit it (you need to devel-su as root).

    sqlite3 /home/nemo/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db

    Or if you dont want to enable developer mode, you can do factory reset and start the whole config and install process from scratch.


    Sorry to piggy back on this conversation but i did also do that same by mistake which im ok with as its only my facebook contacts (manage to remove others by selecting not to sync accounts )

    I was just wondering if there is a way to import vcf files in one go rather than my current method of:

    settings - apps - people - import from file (1 of 120)

    this then jumps to the people's application and i have to repeat the process.

    thank you so much in advanced!


    PS: i'm a little bit of a newby on this BUT! i am trying to learn so sorry if i asked something quite stupid.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwazix | # 5 | 2013-12-22, 00:16 | Report

    cat'ing all vcf files together should work

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qwazix For This Useful Post:
    gurdeep409

     
    mced | # 6 | 2013-12-29, 14:35 | Report

    Originally Posted by qwazix View Post
    cat'ing all vcf files together should work
    Not really. But I've found a workaround.

    PROBLEM: I've got this "catted" VCF file with 84 contacts. Something like this one (numbers and sensible data are fake, of course):

    Code:
    BEGIN:VCARD
    VERSION:2.1
    UID:662
    REV:2011-05-14T10:21:32Z
    TEL;CELL;VOICE:123456789
    N:;Alejandra;;;
    EMAIL:fakeemail@gmail.com
    END:VCARD
    BEGIN:VCARD
    VERSION:2.1
    UID:620
    REV:2011-01-21T16:18:53Z
    TEL;CELL;VOICE:123456789
    N:;Ana;;;
    END:VCARD
    BEGIN:VCARD
    VERSION:2.1
    UID:603
    REV:2011-01-22T14:27:53Z
    TEL;CELL;VOICE:123456789
    N:;Antonio;;;
    END:VCARD
    And so on...
    --Transfer VCF file to Home directory.
    --Settings - Apps - People does detect it. Tap on "Import from file".
    --Just one contact imported: the first one, "Alejandra".
    --Try again. Same result.i

    WORKAROUND:

    --Open terminal.
    --Edit VCF file (vi, nano...). Erase first contact's lines (from BEGIN:VCARD to END:VCARD, inclusive). In my example, "Alejandra" now is gone and first contact is "Ana".
    --Return to Settings - Apps - People. Tap on "Import from file".
    --Remaining contacts should be imported.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by mced; 2013-12-29 at 14:38.

     
    rob_kouw | # 7 | 2013-12-29, 23:33 | Report

    In another thread this VCF subject has been discussed. Look for the post of Kabouik #208 on this page:
    http://talk.maemo.org/showthread.php?t=91886&page=21

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to rob_kouw For This Useful Post:
    mced

     
    MattVogt | # 8 | 2013-12-29, 23:42 | Report

    Originally Posted by rainisto View Post
    In a meanwhile in developermode, you can either nuke the database or edit it (you need to devel-su as root).

    sqlite3 /home/nemo/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db
    If you intend to try this, please do the following as the nemo user first:
    Code:
    systemctl --user stop msyncd.service
    systemctl --user stop contactsd.service
    systemctl --user stop voicecall-ui-prestart.service
    Otherwise, these processes might make concurrent DB modifications that could lead to DB corruption.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to MattVogt For This Useful Post:
    mattaustin, mdengler

     
    MattVogt | # 9 | 2013-12-29, 23:49 | Report

    Originally Posted by mced View Post
    PROBLEM: I've got this "catted" VCF file with 84 contacts. Something like this one (numbers and sensible data are fake, of course):

    Code:
    BEGIN:VCARD
    VERSION:2.1
    UID:662
    REV:2011-05-14T10:21:32Z
    TEL;CELL;VOICE:123456789
    N:;Alejandra;;;
    EMAIL:fakeemail@gmail.com
    END:VCARD
    BEGIN:VCARD
    VERSION:2.1
    UID:620
    REV:2011-01-21T16:18:53Z
    TEL;CELL;VOICE:123456789
    N:;Ana;;;
    END:VCARD
    BEGIN:VCARD
    VERSION:2.1
    UID:603
    REV:2011-01-22T14:27:53Z
    TEL;CELL;VOICE:123456789
    N:;Antonio;;;
    END:VCARD
    And so on...
    --Transfer VCF file to Home directory.
    --Settings - Apps - People does detect it. Tap on "Import from file".
    --Just one contact imported: the first one, "Alejandra".
    --Try again. Same result.
    This problem frequently occurs with VCF files catted together, where one or more of the original files does not have a trailing line-break. The composite file ends up with compound lines containing 'END:VCARDBEGIN:VCARD', which are invalid, and do not correctly delimit contact records. The surrounding records are then rendered invalid, usually by being detected as having more than one field which should be singular, such as 'N' structured name fields.

    Chris Adams has recently merged a change to the qtpim module to workaround this problem, but it will takes a while to filter through to a Sailfish release.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to MattVogt For This Useful Post:
    mattaustin, mced, zamorph

     
    jabis | # 10 | 2014-03-02, 18:20 | Report

    I don't know whether someone finds it useful, but how I imported contacts from my N9, was just to create a folder Contacts in /home/nemo/ and a) exported N9 to file, b) copied the vcards from /home/user/MyDocs/Contacts where N9 saved them over to the /home/nemo/Contacts, rebooted and every contact was updated automatically. I then factory reset the phone updated again to newest OTA, tried it again and it just works - easiest method so far AFAIK. (NOTE: this was before adding any sync-able account)

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jabis; 2014-03-02 at 18:21. Reason: Typos

     
vBulletin® Version 3.8.8
Normal Logout