fileutil(1)

NAME
fileutil - upload/download files area maintenance utility

SYNOPSIS
fileutil [-csection_name] [-noutput_filename] [-moutput_filename] [-u] [-d]

DESCRIPTION
Automated file utility for files areas maintenance. fileutil will create, update, clean and generate reports based on file section(s) used by the rocat BBS system. fileutil will print a usage listing if used without options (or incorrect options)

OPTIONS

-c section_name
    Tells fileutil to create the section section_name The section information must already exist in the bbs_files_header file. It will read the directory associated with the files section and build a section header file based on the files found there. Note: This command is for new section creation only. Any existing files section header will be discarded, resulting in lost header information.

-n output_filename
    Will generate a report of the new files uploaded within the last 7 days.

-m output_filename
    Will generate a report of the top 20 files by number of downloads.

-u  Update all files sections. This will add files found in each files section directory. This is a safer, global version of the '-c' option.

-d  Delete files that exist in the files section header, but do not exist in the files section directory.

BUGS
fileutil logs all errors to the BBS errlogd logging daemon. Error messages don't show up locally.

SEE ALSO
errlogd(1), rocat(1), rocat documentation

AUTHOR
fileutil is Copyright (C) 1994 by Gregory Shaw, <shaw@manwe.fmsoft.com>.