Category : UNIX Files
Archive   : UUPC11VO.ZIP
Filename : UUCLEAN.BAT

 
Output of file : UUCLEAN.BAT contained in archive : UUPC11VO.ZIP
echo off
REM *------------------------------------------------------------------*
REM * Written and contributed by Michael Morrett *
REM * ([email protected]). Support for by Snuffles P. *
REM * Bear ([email protected]). Comments by Drew Derbyshire *
REM * ([email protected]); delete the comments to make this run faster. *
REM *------------------------------------------------------------------*
REM * Define your spool and temp directories on following line *
REM *------------------------------------------------------------------*
if "%1" == "cleanit" goto cleanit:
if "%1" == "" %0 \uupc\spool %temp%
if "%2" == "" %0 %1 %temp%
echo Cleaning UUPC/extended directories %1 and %2
REM *------------------------------------------------------------------*
REM * Temporary files created by UUCICO in spool directory *
REM *------------------------------------------------------------------*
if exist %1\*.$$$ erase %1\*.$$$
REM *------------------------------------------------------------------*
REM * Temporary files created by MAIL and RMAIL. (and their *
REM * backups created by many editors) *
REM *------------------------------------------------------------------*
if exist %2\UUPC*.tmp erase %2\UUPC*.tmp
if exist %2\UUPC*.txt erase %2\UUPC*.txt
if exist %2\UUPC*.bak erase %2\UUPC*.bak
REM *------------------------------------------------------------------*
REM * Clean the various log files *
REM *------------------------------------------------------------------*
call %0 cleanit %1\linedata
call %0 cleanit %1\rmail
call %0 cleanit %1\rnews
call %0 cleanit %1\uuxqt
call %0 cleanit %1\uucico
call %0 cleanit %1\expire
if exist %1\syslog rename %1\syslog syslog.log
call %0 cleanit %1\syslog
REM *------------------------------------------------------------------*
REM * Clean up old news *
REM *------------------------------------------------------------------*
expire
goto exit
REM *------------------------------------------------------------------*
REM * Clean up a single log file *
REM *------------------------------------------------------------------*
:cleanit
if not exist %2.log goto :exit
echo Cleaning %2.log files.
if exist %2.004 del %2.004
if exist %2.003 rename %2.003 *.004
if exist %2.002 rename %2.002 *.003
if exist %2.001 rename %2.001 *.002
if exist %2.log rename %2.log *.001
REM *------------------------------------------------------------------*
REM * All done, exit *
REM *------------------------------------------------------------------*
:exit


  3 Responses to “Category : UNIX Files
Archive   : UUPC11VO.ZIP
Filename : UUCLEAN.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/