TIP: Click on subject to list as thread! ANSI
echo: locsysop
to: david begley
from: Paul Edwards
date: 1996-05-20 15:50:16
subject: thanks a million!

PE> Thanks to a VERY KIND person, who will forever be my hero, my
PE> E drive has now been fully recovered.

db> Does that mean these directories are now 100% back in working order?

db> e:\general\*.*
db> e:\gnuemx\*.*
db> e:\cooking\*.*
db> e:\davidb\*.*
db> e:\gnuemacs\*.*

Not quite 100%, the dates had all been trashed (to 1996-05-19 or
something).  But thanks to a C program I whipped up, I was able
to use my files list to recover the dates!  So yes, 100% now.
Well, except for the times anyway, the times all got set to
midday instead of whatever they used to be.  BFN.  Paul.

#include 

int main(void)
{
    char buf[200];
    
    while (fgets(buf, sizeof buf, stdin) != NULL)
    {
        if (buf[19] == ' ') buf[19] = '0';
        printf("touch -d 19%.2s-%.2s-%.2sT19:00 %.12s\n",
               buf+25,
               buf+22,
               buf+19,
               buf);
    }
    return (0);
}
@EOT:

---
* Origin: X (3:711/934.9)

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™.