• Possible to mass-migrate Usenet settings from Thunderbird to *pine?

    From Ottavio Caruso@ottavio2006-usenet2012@yahoo.com to comp.mail.pine on Mon Oct 23 09:36:53 2023
    From Newsgroup: comp.mail.pine

    Hi, I don't care much about email but I have 100s of NGs that I want to
    move to *pine without having to go to manual settings. Ideally I'd like
    to have the same NGs and the exact point to where I was in Thunderbird.

    My system is Debian Bullseye.

    In the past, I used to use this script, but it would do half the job,
    that is move the NGs but not take account of the messages already read.

    ########### start


    $ cat opt/bin/sync2.sh
    #!/bin/bash

    clear

    cd

    DIR=sync-$(date +"%m%d%Y")
    mkdir $DIR
    cd $DIR



    echo
    echo 'Copying Thunderbird newsrc files'
    find ~/.thunderbird/yccty18i.default-release/News/ -type f -name
    newsrc-* -mtime -7 -ctime -7|xargs tar cvf - | ( tar xfp -)

    ##### end

    Then I had to edit the newsrc-* file names to fit onto *pine (don't
    remember how I did it) but it didn't do what I meant to achieve.

    For example, one the files would look like this:

    ###### start

    $ cat /home/oc/.thunderbird/yccty18i.default-release/News/newsrc-news.eternal-september.org
    comp.editors: 1-3588
    uk.radio.amateur.moderated: 1-6276
    comp.unix.shell: 1-37961
    eternal-september.where.are.all.the.newsgroups: 1,2 eternal-september.grouprequests: 1-651
    eternal-september.config: 1-879
    eternal-september.info: 1-48
    eternal-september.moderated: 1-20
    eternal-september.support: 1-14464
    eternal-september.talk: 1-1245
    uk.people.consumers.ebay: 1-25952
    free.uk.amateur-radio: 1-15439
    free.uk.diy.domestic-appliance-repair: 1-6
    free.uk.diy.home: 1-7928
    free.uk.jobs: 1-122
    free.uk.talk.birmingham: 1-6
    uk.d-i-y: 1-1207473
    uk.local.birmingham: 1-971

    #### end




    Can this be done? This should be a one-off job to get rid of Thunderbird
    once and for all.

    Thanks.
    --
    Ottavio Caruso
    --- Synchronet 3.21d-Linux NewsLink 1.2