Article View: news.software.nntp
Article #89209Re: actsync man page problem
From: Julien ÉLIE
Date: Mon, 07 Feb 2022 19:22
Date: Mon, 07 Feb 2022 19:22
44 lines
2874 bytes
2874 bytes
Hi Nigel, > I have 3 peers and I want to make sure that I have all the groups from > all the servers in my active file. Oh, I see. You may try "actsync -m" (merge feature), running it against the three peers. Local newsgroups will not be marked for removal, so you'll end up having all the newsgroups of your 3 peers. Nonetheless, you won't be aware of a newsgroup removed from the 3 peers. What would you think of this mix of getlist, actmerge and actsync? # Retrieve the list of newsgroups of the 3 peers. getlist -h peer1 > active-peer1 getlist -h peer2 > active-peer2 getlist -h peer3 > active-peer3 # Generate an ignore file indicating to take everything. echo 'c *' > actmerge.ign # Merge the 3 lists. actmerge actmerge.ign actmerge.ign ./active-peer1 ./active-peer2 > active-merged12 actmerge actmerge.ign actmerge.ign ./active-merged12 ./active-peer3 > active-merged123 # Output ctlinnd commands corresponding to the actions to take # in order to have the same newsgroups as the 3 peers. actsync -o c ./active-merged123 - And then, if that's OK for you, just pipe the final result to "sh" or "mod-active". Does it correspond to what you were looking for? -- Julien ÉLIE « A program should always respond to the user in the way that astonishes him least. » (Plauger's Law of Least Astonishment)
Technical Details
Message-ID:
<strrhi$189mr$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<ssj3r8$uh4$1@dont-email.me> <ssjdej$egh$1@rasp.pasdenom.info> <ssjmob$ol1$1@dont-email.me> <stlhdu$125tl$1@news.trigofacile.com> <20220206024300.5a7e43ac@wibble.sysadmininc.com> <stpdb7$16i5d$1@news.trigofacile.com> <20220207105012.73253326@wibble.sysadmininc.com>Show Full Headers
Complete Article Headers
Message-ID: <strrhi$189mr$1@news.trigofacile.com> Subject: Re: actsync man page problem Date: Mon, 7 Feb 2022 20:22:26 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <ssj3r8$uh4$1@dont-email.me> <ssjdej$egh$1@rasp.pasdenom.info> <ssjmob$ol1$1@dont-email.me> <stlhdu$125tl$1@news.trigofacile.com> <20220206024300.5a7e43ac@wibble.sysadmininc.com> <stpdb7$16i5d$1@news.trigofacile.com> <20220207105012.73253326@wibble.sysadmininc.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 7 Feb 2022 19:22:26 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1320667"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Cancel-Lock: sha1:zYTf06Z2BFBO0GJ/EreOvZii+r8= sha256:FVgr/ZbMir+JeILiypRVIPs9Yy27dV2A5XpCo5KlFys= sha1:uhzgzCn6fbFe6kBZ+iMTqQCcRbc= sha256:qMzSD/UUKzz93zQqDGKz1hablsqIaDPXw8BxNdw9+E4= Content-Language: fr In-Reply-To: <20220207105012.73253326@wibble.sysadmininc.com>