To: Diamond Dave
Re: Exporting and importing file descriptions
By: Diamond Dave to All on Sun Dec 15 2024 06:34 am
Hello all!
I'm trying to export file descriptions from an existing installed synchronet system and then import them into a newly installed Synchronet system.
I know how to export and import the directory structure, but not the file name descriptions themselves.
(And yes, I've looked on the Wiki, couldn't find anything!)
The filelist utility or filelist.js can be used to create a listfile (e..g. FILES.BBS) that contains file descriptions suitable for import into another BBS:
https://wiki.synchro.net/module:filelist
The addfiles utility or addfiles.js can import listfiles into a Synchronet filebase. If all the files have DIZ in them (and those are the descriptions you like/want), then you don't even need the listfile.
That said, if the existing BBS is Synchronet and the new BBS is Synchronet it'd be better to just copy/move the filebase data files (from you sbbs data/dirs diretory) - that way, you'd get *all* the file metadata (uploader, date/time uploaded, download counts, date/time last downloaded, etc.), not just the file descriptions. You just need the old and new directory "internal codes" to be the same.
But then... why not just copy/move the library and directory configuration files (e.g. ctrl/file.cnf, file.ini) from the old BBS to the new one? That way, you know the internal codes (and everthing else) is setup exactly as you had it before.
--
digital man (rob)
Sling Blade quote #6:
Karl: he should've had a chance to grow up. He would had fun some time.
Norco, CA WX: 68.9øF, 34.0% humidity, 1 mph SW wind, 0.00 inches rain/24hrs
--- Synchronet 3.20a-Linux NewsLink 1.2
* Vertrauen - Riverside County, California -
telnet://vert.synchro.net
--- Synchronet 3.20a-Linux NewsLink 1.2