Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
util:filelist [2015/01/19 16:48] – [See Also] Add link to section in sysop manual. digital man | util:filelist [2021/04/04 04:45] (current) – Deprecated in v3.19 digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== FILELIST ====== | ====== FILELIST ====== | ||
- | FIXME | + | As of Synchronet v3.19, this utility has been deprecated in favor of the new '' |
+ | |||
+ | FILELIST - Generate Synchronet File Directory Listings | ||
+ | |||
+ | Description: | ||
+ | |||
+ | This utility creates an ASCII text file list of the files in a Synchronet file transfer database. This utility is useful for creating file lists for users to download, exporting into other programs, or for easy statistics reporting by the sysop. | ||
+ | |||
+ | The default output is compatible with the FILES.BBS standard format. Options are available for enhancing the output for your needs. | ||
+ | |||
+ | Understand that this is an EXPORT utility and is not necessary for the normal execution of Synchronet. This utility exports from the binary indexed file databases of Synchronet into ASCII text. If you are looking for a program to IMPORT files from ASCII into Synchronet, you need to look for the ADDFILES utility for Synchronet. If you are just trying to ADD files to your Synchronet database, then you need to read Sysop Commands - specifically the "; | ||
+ | |||
+ | Syntax: | ||
+ | |||
+ | usage: FILELIST [dir_code] [switches] outfile | ||
+ | |||
+ | switches: /LIB name All directories of specified library | ||
+ | /ALL All directories in all libraries | ||
+ | /NOT code Exclude specific directory | ||
+ | /CAT Concatenate to existing outfile | ||
+ | /PAD Pad filename with spaces | ||
+ | /HDR Include directory headers | ||
+ | /CDT Include credit value | ||
+ | /ULN Include uploader' | ||
+ | /ULD Include upload date | ||
+ | /DFD Include DOS file date | ||
+ | /DLD Include download date | ||
+ | /DLS Include total downloads | ||
+ | /NOD Exclude normal descriptions | ||
+ | /NOE Exclude normal descriptions, | ||
+ | /EXT Include extended descriptions | ||
+ | /JST Justify extended descriptions under normal | ||
+ | /+ Include extended description indicator (+) | ||
+ | /- Include offline file indicator (-) | ||
+ | /* Short-hand for /PAD /HDR /CDT /+ /- | ||
+ | |||
+ | Parameter Descriptions: | ||
+ | |||
+ | Either the "/LIB name", "/ | ||
+ | |||
+ | If you want to exclude a specific directory from a library (when using the "/ | ||
+ | |||
+ | If you want the list to be appended to an existing file rather than overwrite the original file, include the "/ | ||
+ | |||
+ | The default format for file names is non-padded (FILE.EXT). If you want the list to have the filename and extension in separate columns (like the file listings inside Synchronet), | ||
+ | |||
+ | If you want a small header to be placed at the beginning of each directory, include the "/ | ||
+ | |||
+ | If you want the credit value of the file (normally the same as the file size) included in the listing, include the "/ | ||
+ | |||
+ | If you want the name of the uploader of each file to be included in the list, use the "/ | ||
+ | |||
+ | If you want the date of the upload (in MM/DD/YY format) to be included in the list, use the "/ | ||
+ | |||
+ | If you want the DOS file date to be included in the file listing, use the "/ | ||
+ | |||
+ | If you want the date of the most recent download (in MM/DD/YY format) to be included in the list, use the "/ | ||
+ | |||
+ | If you want the total number of downloads for each file included in the list, use the "/ | ||
+ | |||
+ | If you DO NOT want the normal (58 character) description included in the file list, include the "/ | ||
+ | |||
+ | If you want the normal description to be excluded only if an extended description exists, then use the "/ | ||
+ | |||
+ | If you want extended descriptions to be included in the file list, use the "/ | ||
+ | |||
+ | If you want extended descriptions to be automatically justified under the normal description, | ||
+ | |||
+ | If you want the ' | ||
+ | |||
+ | If you want the existence of each file to be verified and non-existent (offline) files to be indicated by a ' | ||
+ | |||
+ | To generate a list most closely resembling the internal Synchronet file listing format, use the "/ | ||
+ | |||
+ | SBBSNODE Environment Variable: | ||
+ | |||
+ | Prior to running FILELIST you must set the SBBSNODE environment variable to the path of one of your NODE directories. | ||
+ | |||
+ | Example: | ||
+ | |||
+ | SET SBBSNODE=C: | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | FILES.BBS | ||
+ | |||
+ | If you want to create a simple FILES.BBS format listing of your GAMES directory (and the directory' | ||
+ | |||
+ | FILELIST GAMES FILES.BBS | ||
+ | |||
+ | This command line would create the file " | ||
+ | |||
+ | FILELIST.TXT | ||
+ | |||
+ | If you want to create a list of all the files on your BBS that closely matches the format of the internal Synchronet file listings, use the following command line: | ||
+ | |||
+ | FILELIST /* /ALL FILELIST.TXT | ||
+ | |||
+ | This command line would create the file " | ||
+ | |||
+ | To generate the same list, but include any extended descriptions as well, add the "/ | ||
+ | |||
+ | |||
+ | FILESTAT.TXT | ||
+ | |||
+ | If you wanted to create a list of all the files on your BBS with detailed statistical information, | ||
+ | |||
+ | FILELIST /* /ALL /NOD /ULN /ULD /DLD /DLS FILESTAT.TXT | ||
+ | |||
+ | This command line would create a list of the files with the uploader' | ||
+ | |||
+ | |||
+ | NOTE: | ||
+ | |||
+ | The functionality of creating file lists is not limited to only this utility. There are commands to generate file lists (of both New files and All files) from the Temp Directory menu in the Synchronet transfer section. Users can use these commands to generate lists for download immediately. Also, QWK packets generated in Synchronet contain a file named " | ||
+ | |||
+ | The main advantages of this utility over the internal file list generation capabilities of Synchronet are its output format flexibility and compatibility with the FILES.BBS standard. | ||
===== See Also ===== | ===== See Also ===== | ||
- | * [[.:scfg: | + | * [[util: |
* [[http:// | * [[http:// |