home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 595.lha / TrashCompactor_v1.11 / tc.doc < prev    next >
Text File  |  1991-12-07  |  2KB  |  45 lines

  1. Trash Compactor   Version 1.11
  2.  
  3.  
  4. What is it?
  5.   Well, it goes through any directory passed to it by the CLI and deletes
  6.   all files that are older than a specified number of days.  It traverses
  7.   the sub-directories recursively and deletes empty subdirs.
  8.  
  9. Why?
  10.   Well.  If I put files in my trashcan, I almost always forget to empty
  11.   the trash.  Now, this program gets executed everytime my computer boots
  12.   and deletes old files.  Of course, if I want something to die instantly
  13.   I can still use the CLI or the Workbench's delete function or Empty
  14.   trash...
  15.  
  16. How to Use it...
  17.   The command line looks like this:
  18.  
  19.      tc [-n] [Path1] [Path2] ... [Path10] [QUIET]
  20.  
  21.   where:
  22.          n = maximum age of files (in days) before deletion occurs.  The
  23.              maximum value is 28, the default is 5, and the minimum is 1.
  24.  
  25.      Path# = Up to ten different directories to check for deletion.
  26.              These files don't _have_ to actually be trashcans.  Any
  27.              directory will do.  Just don't set it to C: or something
  28.              like that... 8)
  29.  
  30.      QUIET   is a switch that will suppress the program's output.  Some
  31.              error messages will still get printed.
  32.  
  33. Notes:
  34.   It is imperative that the system date is set correctly.  If its not then
  35.   you may find unexpected results.  The program _can_ be interrupted with
  36.   a control-c if a wrong system date confuses the program.
  37.  
  38.   The use of this program is at your own risk and I assume no responsibility
  39.   for any problems that occur.
  40.  
  41.  
  42.  
  43.  
  44.                                   Stephan
  45.