home *** CD-ROM | disk | FTP | other *** search
-
- TIMEKILL - V1.1 (c) 1990 by Thomas Dobusch
- FidoNetNode 2:507/8
-
- ---------- What's new in 1.1 ----------
-
- A sysop asked me wether I could install a opportunity not only to delete
- the files but to move them in another directory.
- So I did!
- Now you may choose between deleting the files and moving them into
- another directory.
- TIMEKILL will improve wether the backupdirectory exists before it will
- kill the files so that there is some security handling with your files.
-
- ---------------------------------------
-
- Dieter Soltau of 2:507/1 asked me wether I could write a small program
- for him that will look in different directories and kill files there
- older as a given number of days.
-
- And that's it was TIMEKILL does.
-
- There are two possibilities to start the program:
-
- 1. You can call it like TIMEKILL C:\DOS 10
- This will force TIMEKILL to change into the DIR C:\DOS and delete all
- files older than 10 days.
- So it would be better NOT to do so in your DOS-DIR :-)
- If you will give the name of another path as aother parameter
- TIMEKILL will move the files into this directory instead of killing
- them.
-
- Example:
- TIMEKILL C:\DOS 10 C:\BACKUP
-
- 2. You may create a file called TIMEKILL.CFG in which you can place all
- directories you want TIMEKILL to look about files older than a given
- number of days:
-
- C:\DOS 10 Move C:\BACKUP
- D:\TURBO 5
- E:\MYPRG 20 and so on..
-
- where C:\DOS is the directory and 10 is the number of days that files
- in this directory may be old so that TIMEKILL will let them stay.
- If TIMEKILL finds the MOVE-statement in the cfgline it will move the
- files into the path given behind it instead of killing them only.
-
- It is allowed to take a ";" as the first sign of the controlfileline,
- in this case TIMEKILL will ignore it.
-
- If you call TIMEKILL ? you will get a small discription of using
- TIMEKILL.
-
- In case that the directory you defind in the cfgfile or as a parameter
- does not exist TIMEKILL will halt with an ERRORLEVEL of 3.
-
- In case that one ore more of the directories does not exist TIMEKILL
- will stop with an ERRORLEVEL of 2 so you can ask this in a batch.
-
- If you call TIMEKILL without any parameters and it can't find any
- TIMEKILL.CFG in the current dir it will stop with an ERRORLEVEL of 1.
-
- I hope you find TIMEKILL usefull, in this case I would be happy if you
- will give me a small letter to:
-
- Thomas Dobusch
- 5804 Herdecke
- Zeppelinstr. 12
- GERMANY
-
- or write me a netmail to
- Thomas Dobusch of 2:507/8
-