Article View: news.software.readers
Article #223259Re: [dialog] re-installation
From: Ron Ford
Date: Mon, 14 Jul 2008 03:13
Date: Mon, 14 Jul 2008 03:13
89 lines
4789 bytes
4789 bytes
On Sat, 12 Jul 2008 20:59:39 +0200, Bernd Rose posted: > On Wed, 2 Jul 2008 19:44:28 -0700, Ron Ford wrote: > >> 4) (Especially for Bernd bzw. Oliver) Can I use mtr.exe to count the the >> number of files that I have currently in 40tude's root install? > > Minitrue is a string handling tool. Although it might possibly be > (mis-)used to count files, I wouldn't recommend this. You may just > select all files (Ctrl+A selects all files and folders of the > current directory) inside Explorer and right click on that selection. > Choose [Properties] and you get the number of files (and as a > separate value: directories). > > If you only need the count of files of a special file type, use > the [Search] entry inside the right-click menu of the main folder. > You'll see the number of found "objects" in the status line. > > If you better like a command line solution, you may try the > following 4 lines inside a *.bat or *.cmd file: > > @echo off > set /a cnt=0 > for /r %%f in (*.*) do set /a cnt+=1 > echo %cnt% > > Remove the /r switch of the for command, if you don't need to > recurse into subdirectories. And adjust the search pattern, if > you only need a special file type. > > I lost track, which of your other questions have already been > answered. So I'll leave it at this... ;-) What a dynamite little utility is that: REM batch file from Bernd Rose to count files in directory REM /r recurses through subdirectories @echo off set /a cnt=0 for /r %%f in (*.*) do set /a cnt+=1 echo %cnt% You run it as a batch file in a dos window in the directory you want to count. My mtr question changed over time. Before, we looked through msg*.dat, pulling against Richard's sig: %% %% Then minitrue can do its thing, because your separator is DEL, a.k.a. %% hex 7F: %% mtr.exe -xo^^$i:sig.txt msg*.dat > RMaine.txt %% , where sig.txt is the familiar: %% %% "[^\x7F]*\r\nRichard Maine +\| Good judgement comes from %% experience;\r\nemail: last name at domain . net \| experience comes from %% bad judgement.\r\ndomain: summertriangle +\| -- Mark Twain[^\x7F]*\x7F" I just downloaded 267 articles from "trudogg," who doesn't use a sig. How would we delimit based on other information and pluck out those articles? Here is what one of dogg's headers looks like: Path: uni-berlin.de!fu-berlin.de!nlpi057.nbdc.sbc.com!prodigy.net!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 12 Jul 2008 06:35:35 -0500 From: trudogg <independent@long.last> Newsgroups: misc.news.internet.discuss Subject: Red Lines Date: Sat, 12 Jul 2008 07:35:34 -0400 Message-ID: <bh5h74pdt8q87r2e0lcoiohrmqckaf3mgn@4ax.com> X-Newsreader: Forte Agent 4.2/32.1117 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 34 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 98.203.71.38 X-Trace: sv3-bq8WA+qolbZDXTBwMBOaRl2vkO1PsjIU4NtCsnnUbKT156yZQ7V6s9zPkXqfpK/xeaRekVW2TQU3Mug!Gs9yZevSs7BpzJB7+voGb2V+L0ju8JNzB6rxnzuvkr7UMuaPyLmAnPVXcx0slWJVor2vnRWB6qOI!RkEpzhcV8gmLiYLjceeblP9FFw== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Bytes: 2817 Xref: uni-berlin.de misc.news.internet.discuss:376397 -- Alimony - the ransom that the happy pay to the devil. H. L. Mencken
Technical Details
Message-ID:
<13qesrbtyb6lb.1k599cbr37iqm$.dlg@40tude.net>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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<47c3j4jyyl3r$.7lybljvsx9gh.dlg@40tude.net> <g4h9o2$6vs$1@registered.motzarella.org> <ocjbmy7sa4t0$.1kua9vy0qacux$.dlg@40tude.net> <1eqc7fm6uwdme$.dlg@b.rose.tmpbox.news.arcor.de>Show Full Headers
Complete Article Headers
Message-ID: <13qesrbtyb6lb.1k599cbr37iqm$.dlg@40tude.net> Subject: Re: [dialog] re-installation Date: Sun, 13 Jul 2008 21:13:09 -0600 From: Ron Ford <ron@nowhere.net> References: <47c3j4jyyl3r$.7lybljvsx9gh.dlg@40tude.net> <g4h9o2$6vs$1@registered.motzarella.org> <ocjbmy7sa4t0$.1kua9vy0qacux$.dlg@40tude.net> <1eqc7fm6uwdme$.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 89 Reply-To: wade196884@netzero.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: individual.net /aBbm5aw8G5PuVc73P654w2PTtWMaQQkf7urm3t9ckH187aIIO Cancel-Lock: sha1:BI0Lrqa4l+DgJ6IJGYy6v5Lh3ko= User-Agent: 40tude_Dialog/2.0.15.84