• 00-index.txt files

    From Charles Blackburn@1:103/705 to All on Wed Sep 7 20:36:40 2022
    Hi All

    Trying to import some cdroms into my system, but im having trouble importing the
    file descriptions.

    Do you know how (if at all possible) i can import the standard 00_index.txt file that is in each directory on the CD.

    A lot of the old software used to be able to read those and import the information for the files that may be lacking a FILE_ID.DIZ

    The format is below from one of the cdroms im trying to import.

    Any help appreciated

    sbbs@synchronet:~$ more /SBBS-Files/CDROM/MSDOS_Archives/4dos/00_index.txt NOTE: This list was created on Mon, 25 Nov 91 10:06:04 MST.
    Some files may have been added or deleted since that date.
    See file MSDOS/FILEDOCS/AAAREAD.ME for additional information.

    NOTE: Type B is Binary; Type A is ASCII

    Directory MSDOS/4DOS/
    Filename Type Length Date Description ==============================================
    4D2411.ZIP B 7006 901229 TSR critical error handler (INT 24) for 4DOS 4D30REF.ZIP B 8332 900323 4DOS v3 special chars/variables help ref. 1of2 4D30REF2.ZIP B 9422 900323 4DOS v3 special chars/variables help ref. 2of2 4DOS40D.ZIP B 247120 911104 Enhanced COMMAND.COM replacement, manual, 1/2 4DOS40P.ZIP B 274634 911104 Enhanced COMMAND.COM replacement, exe/pgms,2/2 4DOSANN.ZIP B 6864 910819 4DOS runs on DOS 5.0 and Norton DOS info 4EDIT106.ZIP B 34169 910205 4DOS full screen directory description editor 4LOG05.ZIP B 68009 910531 Activity tracking/performance monitor for 4DOS 4MAP.ZIP B 42206 901116 Customize 4DOS command line editor keybindings 4MENU11W.ZIP B 44032 910314 Makes batch file menus using 4DOS functions 4ZIP.ZIP B 60546 900713 A utility for 4DOS, ZIP descriptions with file SVALIAS.ARC B 5558 900109 Saves 4DOS aliases in a file for later use Charles Blackburn
    SYSOP - The F.B.O BBS
    Aviation related fun @ bbs.thefbo.us
    DOVE-Net
    Coming soon: FSX-Net, FIDO-Net

    ---
    þ Synchronet þ My Brand-New BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Charles Blackburn on Wed Sep 7 18:31:14 2022
    Re: 00-index.txt files
    By: Charles Blackburn to All on Wed Sep 07 2022 08:36 pm

    Hi All

    Trying to import some cdroms into my system, but im having trouble importing the
    file descriptions.

    Do you know how (if at all possible) i can import the standard 00_index.txt file that is in each directory on the CD.

    The sample you pasted doesn't look like any "standard" file format that I'm aware of.

    A lot of the old software used to be able to read those and import the information for the files that may be lacking a FILE_ID.DIZ

    Really? FILES.BBS and the like, sure, but not at that file. Are the ZIP files actually lacking DIZ's? If not, the easiest thing would be to just import the files using the DIZ's for the descriptions using addfiles.js.

    The format is below from one of the cdroms im trying to import.

    Any help appreciated

    sbbs@synchronet:~$ more /SBBS-Files/CDROM/MSDOS_Archives/4dos/00_index.txt NOTE: This list was created on Mon, 25 Nov 91 10:06:04 MST.
    Some files may have been added or deleted since that date.
    See file MSDOS/FILEDOCS/AAAREAD.ME for additional information.

    NOTE: Type B is Binary; Type A is ASCII

    Directory MSDOS/4DOS/
    Filename Type Length Date Description ==============================================
    4D2411.ZIP B 7006 901229 TSR critical error handler (INT 24) for

    You can see how this would be a problem for to parse: the program/script wouldn't know if "NOTE:", "Some", "See", and "Directory" were supposed to be filenames or not.

    You could likely hack something together (see parse_file_list() in exec/addfiles.js for a starter), but it probably be easier to just write a script in whatever language you're most familiar, that converts those files into an actual standard file format, like FILES.BBS, instead.
    --
    digital man (rob)

    This Is Spinal Tap quote #20:
    Well, I'm sure I'd feel much worse if I weren't under such heavy sedation. Norco, CA WX: 94.5øF, 38.0% humidity, 7 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Charles Blackburn@1:103/705 to Digital Man on Thu Sep 8 20:02:10 2022
    Re: 00-index.txt files
    By: Digital Man to Charles Blackburn on Wed Sep 07 2022 18:31:14

    The sample you pasted doesn't look like any "standard" file format that I'm aware
    of.

    00_index files are a standard going way back when and used on a lot of shareware cdroms - mainly the simtel and sunet ones. A quick google search shows multiple sites that hold them.

    You can see how this would be a problem for to parse: the program/script wouldn't
    know if "NOTE:", "Some", "See", and "Directory" were supposed to be filenames or
    not.

    I could certainly see that, but the line of "equals" (=) signs would be the delimiter for the start of the file names.

    Unfortunately with (at least the simtel and sunet cd's i have) a lot of places, they don't have DIZ files in the ZIP files etc. (which i LOVE :D)

    You could likely hack something together (see parse_file_list() in exec/addfiles.js
    for a starter), but it probably be easier to just write a script in whatever
    language you're most familiar, that converts those files into an actual standard
    file format, like FILES.BBS, instead.

    I'll take a look into it. I'm a JAVA/JS n00b for sure, but maybe i can knock something up
    in perl or python :D
    Charles Blackburn
    SYSOP - The F.B.O BBS
    Aviation related fun @ bbs.thefbo.us
    DOVE-Net
    Coming soon: FSX-Net, FIDO-Net

    ---
    þ Synchronet þ My Brand-New BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Charles Blackburn on Thu Sep 8 16:14:48 2022
    Re: 00-index.txt files
    By: Charles Blackburn to Digital Man on Thu Sep 08 2022 08:02 pm

    Re: 00-index.txt files
    By: Digital Man to Charles Blackburn on Wed Sep 07 2022 18:31:14

    The sample you pasted doesn't look like any "standard" file format that I'm aware
    of.

    00_index files are a standard going way back when and used on a lot of shareware cdroms - mainly the simtel and sunet ones. A quick google search shows multiple sites that hold them.

    I agree that the file *name* 00index or 00_index is somewhat of a standard (commonly generated for FTP sites), but the file contents are completely adhoc.
    Here's an exmaple 00INDEX.TXT file from an OS/2 shareware CD circa 1994:

    Hobbes OS/2 archive CDROM. July 94. Walnut Creek CDROM. ---------------------------------------------------------
    Communications programs (1.x)
    path: \1_x\comm\
    ---------------------------------------------------------
    Name Size Date Description
    ------------ ---- ---- ------------------------
    COM03.ZIP 4018 12-13-87 COM3 on an ATklone
    COM16550.ZIP 13478 08-01-92 Replacement COM drivers for high-speed UARTs COMPATCH.TXT 1744 06-04-92 Patch OS/2 1.x device driver for higher speed NBA.ZIP 18230 07-27-90 NetBios broadcast agent (S)
    OX2.ZIP 7465 06-21-89 Support for auxiliary port
    SETBAUD2.ZIP 8223 09-20-91 Set baud rate up to 115200 baud ---------------------------------------------------------
    Device drivers (1.x)
    path: \1_x\drivers\
    ---------------------------------------------------------
    Name Size Date Description
    ------------ ---- ---- ------------------------
    4019DRVR.ZIP 202011 11-14-89 IBM 4019 Laser Printer driver
    AHA_IBM.CIP 33497 11-06-93
    AHA_IBM.ZIP 33497 05-08-90 ASW-1420/AT ASPI SCSI driver for AHA-154x
    etc.

    ... It doesn't match the format of your example 00_index file at all.

    You can see how this would be a problem for to parse: the program/script wouldn't
    know if "NOTE:", "Some", "See", and "Directory" were supposed to be filenames or
    not.

    I could certainly see that, but the line of "equals" (=) signs would be the delimiter for the start of the file names.

    Sure, but that's not any kind of standard that I'm aware of.

    Unfortunately with (at least the simtel and sunet cd's i have) a lot of places, they don't have DIZ files in the ZIP files etc. (which i LOVE :D)

    You could likely hack something together (see parse_file_list() in exec/addfiles.js
    for a starter), but it probably be easier to just write a script in whatever
    language you're most familiar, that converts those files into an actual standard
    file format, like FILES.BBS, instead.

    I'll take a look into it. I'm a JAVA/JS n00b for sure, but maybe i can knock something up
    in perl or python :D

    Yeah, just munge the text into something that more closely resembles a FILES.BBS file and you can import that easily enough with the existing utility scripts (addfiles.js).
    --
    digital man (rob)

    Rush quote #71:
    He's not concerned with yesterday, he knows constant change is here today Norco, CA WX: 96.8øF, 34.0% humidity, 6 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Charles Blackburn@1:103/705 to Digital Man on Fri Sep 9 11:01:00 2022
    Re: 00-index.txt files
    By: Digital Man to Charles Blackburn on Thu Sep 08 2022 16:14:49

    I agree that the file *name* 00index or 00_index is somewhat of a standard (commonly
    generated for FTP sites), but the file contents are completely adhoc. Here's an exmaple 00INDEX.TXT file from an OS/2 shareware CD circa 1994:

    dang that's weird... never seen that one before... but i guess i havent really looked at much detail until now LOL.

    I'll take a look at a converter program... heck... if i can get it to work then it would benefit us all no ?
    Charles Blackburn
    SYSOP - The F.B.O BBS
    Aviation related fun @ bbs.thefbo.us IPV4 and IPV6
    DOVE-Net
    Coming soon: FSX-Net, FIDO-Net

    ---
    þ Synchronet þ My Brand-New BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)