Article View: news.software.readers
Article #250644Re: Dialog: Import/export newsrc
From: Bernd Rose
Date: Sun, 24 Jun 2012 20:48
Date: Sun, 24 Jun 2012 20:48
60 lines
4259 bytes
4259 bytes
On Sun, 24 Jun 2012 14:28:42 -0500, Sqwertz wrote: > Is there anyw ay to import/export the list of subscribed groups? [...] > Extra bonus points if it can preserve my categories. This is not possible. The Dialog database uses index numbers for nearly everything. The index numbers stored for your subscribed groups as well as for your categories would point at the group with the same number inside the *new* combined group list of all servers you newly subscribed to. *Always* use the *whole* Data folder of an earlier installation or a clean Data from fresh install. *Never* mix! (The same applies to restoration of backups, btw.: *Never* copy only part of the backup into an existing Data folder, since group numbers may have changed. Or extra files for a group (that are not present in the backup) may provide wrong pointers to messages inside the group. > Is there a better way to zap the databases clean and zero them out > completely? I tried "Clear Groups" one time followed by "Compact > Databases" but there were still several large message files. "Clear groups" only deletes content from selected *newsgroups*. If you want to clear the whole database, you also need to delete all messages from all *folders*. This can only be done, manually (folder by folder). Be sure, that you have the view set to show "All messages" (<Ctrl+F1>) and that you have unset all "Keep" flags. While messages with "Keep" flag /are/ deleted by the "Clear groups" command, they are /not/ by normal delete. I usually select all messages inside a folder, hit "k" to toggle the "Keep" flag for all selected messages. Depending on the last selected record, now all or no messages carry the "Keep" flag. If the flag is set, another "k" hit will unset it. Now hitting DEL should remove all messages for good, provided there is no filter set... And be sure, that you never unsubscribed a group while keeping some messages inside it. (That's supported by Dialog.) Best to select /everything/ inside the "All" category. (Select the first group - probably a spacer - and hit <Shift+End>. Then execute the "Clear groups" command on the selection. Please note, that the display is likely to not being properly updated after this. So you should wait until the disk activity ceases and switch to another category to see, whether the task was finished.) When you cleared all groups and deleted every message from every folder (including Outbox, Sent, Drafts, and all Inboxes), you can run "Compact Database". If you wish to ditch a server, do this beforehand, as well. Now, only /one/ msg.dat file (containing only a 4-byte header) should be left inside Data. If you still have msg*.dat files with numbers (msg1.dat, msg2.dat,...) or if msg.dat is bigger then 4 bytes, you either did not delete /all/ messages, drafts, sent items,... or your database is corrupt beyond repair. HTH. Bernd
Technical Details
Message-ID:
<w11tg73tfvk4.dlg@b.rose.tmpbox.news.arcor.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!news.karotte.org!news2.arglkargh.de!news.n-ix.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mailReferences:
<f4ub538c75mn.dlg@sqwertz.com>Show Full Headers
Complete Article Headers
Message-ID: <w11tg73tfvk4.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: Dialog: Import/export newsrc Date: Sun, 24 Jun 2012 22:48:50 +0200 From: Bernd Rose <b.rose.tmpbox@expires-2012-06-30.arcornews.de> References: <f4ub538c75mn.dlg@sqwertz.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!news.karotte.org!news2.arglkargh.de!news.n-ix.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.41 (5ea425a5.120.432) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Lines: 60 Organization: Arcor NNTP-Posting-Date: 24 Jun 2012 22:49:16 CEST NNTP-Posting-Host: 9c3111c3.newsspool1.arcor-online.net X-Trace: DXC=I<kJjP36n?4; ]cDoEWD6A4ic==]BZ:af>4Fo<]lROoR1nkgeX?EC@@07; G]<9W2=J<BYf[Tl<>Rj:0Ogo]_C<PG3EA=RK?A[JR4 X-Complaints-To: usenet-abuse@arcor.de X-Original-Bytes: 3985