| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | hpt squish corruption |
Hello andrew! 08 Jun 18 20:36, andrew clarke wrote to Gerrit Kuehn: GK>> That's what I was referring to. Of course there are ways around that, GK>> so I wrote "not easily", i.e., not the usual way. ac> Well, not the DOS way. :-) Not the shell way, either. ac>>> find . -iname '*.msg' -delete ac> Actually this will delete *.msg in subdirectories too. And also ac> subdirectories with names matching that pattern. Only if they're empty. ac> Use this instead: ac> find . -depth 1 -type f -iname '*.msg' -delete ac> Omit -delete if you just want a list of files that it will delete. However, you'll still run into trouble when having many files: find might just eat up all your ram, so you're back to writing a shell loop processing files. GK>> Might take for ages, too. find is slow with that. I've had GK>> directories with many files, and even doing "ls -l" is getting slow GK>> pretty soon. Try it with 50k of files, and you'll see what I mean. ac> This hasn't been my experience on modern PCs. Especially not with ac> journaling filesystems on an SSDs. Did you actually try? In my experience, especially "modern" file systems tend to cause all kinds of trouble on operations like this. ac> 50,000+ messages in an echo is an edge case, though. Most echos ac> rarely see that much traffic these days andtThere is not usually a ac> need for anyone to keep that many messages anyway. I have two or three echoes with 50k+ messages (one even at 120k+), and I know quite some nodes who chose to simply keep everything decades ago (when harddisk growths started outperforming message sizes). Regards, Gerrit ... 5:28PM up 152 days, 19:21, 9 users, load averages: 0.15, 0.14, 0.09 --- Msged/BSD 6.1.2* Origin: Tall orders to fulfil (2:240/12) SEEN-BY: 3/50 103/705 154/10 203/0 221/0 1 6 229/426 240/12 77 1120 1254 1512 SEEN-BY: 240/1661 5832 8001 261/38 280/464 5003 292/854 310/31 313/41 335/364 SEEN-BY: 423/120 633/267 280 640/384 712/550 848 770/1 2320/100 2432/390 SEEN-BY: 2449/184 @PATH: 240/12 1120 1661 280/464 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.