| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Files areas |
Hi Alan,
> I am working on getting Max/Linux setup here.. I have about
> a gig or so of files on SBBS that I am going to be moving into max
> as time permits. Anyone have any ideas about how to do get a files.bbs
> from those files?
This is a script I used a while back that imports the file_id.diz in a zip
file and writes the filename and description out to a file.. it was
originally put together to kick out a file in the format of 'descript.ion',
rather than files.bbs but I think the modification noted below will take
care of that..
============cut here=============
#!/bin/sh
dir -1 *.zip > dirlist
for f in `cat dirlist`
do
unzip -pC $f file_id.diz >> FILE_ID.DIZ
if [ -f FILE_ID.DIZ ] ; then
tr '\n\r' '\n\r' tmp.ff
# the line above had been
# '\n\r' ' '
# to remove the CR/LF in the diz, for descript.ion style
# files.
echo $f `cat tmp.ff` >> files.bb1
rm -f FILE_ID.DIZ tmp.ff
fi
done
===========cut here================
If it does what you need, just rename files.bb1 to files.bbs.
Take care,
Janis
--- BBBS/LiI v4.01 Flag-5
* Origin: Prism bbs (1:261/38)SEEN-BY: 633/267 270 @PATH: 261/38 123/500 106/2000 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™.