home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / tdate140.zip / truedate.cfg < prev    next >
Text File  |  1994-05-18  |  6KB  |  155 lines

  1. ;
  2. ; TrueDate (Archive "True Date" Stamp Utility) Configuration File
  3. ; ---------------------------------------------------------------
  4. ;
  5.  
  6. ;
  7. ; Work Directory
  8. ;
  9. ; This directory must be defined.  It is simply a "staging" area when
  10. ; analyzing the contents of an archive, and will be emptied of any
  11. ; temporary files created by TrueDate after TrueDate completes.
  12. ;
  13.  
  14. WorkDirectory   c:\tmp
  15.  
  16. ;
  17. ; Logging definitions
  18. ;
  19. ; Log messages are ranked between 1 to 4, where 1 is the most important
  20. ; type of message (usually a fatal error of some sort), and 4 is the
  21. ; most extraneous (an informational message of some sort).  This gives
  22. ; you control over how verbose to make the status log.
  23. ;
  24. ; Each message in the log file is preceded by a special symbol indicating
  25. ; it's level of importance as follows:
  26. ;
  27. ;       LogLevel  Characters That Precede Included Entries
  28. ;
  29. ;           1      !
  30. ;           2      *
  31. ;           3      +
  32. ;           4      :
  33. ;
  34.  
  35. Log                                ; [No]Log - Log process information to log
  36.                                    ; file
  37.  
  38. LogLevel    3                      ; Level of logging where 1 is the most
  39.                                    ; minimal amount of information, and 4 is
  40.                                    ; the most detailed.
  41.  
  42. LogFile c:\bbs\logs\truedate.log   ; Name of the log file (MUST be defined to
  43.                                    ; use the logging feature.)  There is no
  44.                                    ; default.
  45.  
  46. ;
  47. ; DateSelection [Newest/Oldest]
  48. ;
  49. ; TrueDate will reset the date to either the oldest dated file in the archive
  50. ; or the newest dated archive.  Since some archives include BBS ads or
  51. ; FILE_ID.DIZ files with very recent dates (thus mis-representing the "true"
  52. ; date of the archive), it may be advisable to set the date of the archive
  53. ; to the OLDEST date of the files within the archive.
  54. ;
  55. ; The ExcludeFile statement can also be used to avoid mis-dating an archive
  56. ; by telling TrueDate to ignore such files as FILE_ID.DIZ, etc.
  57. ;
  58.  
  59. DateSelection   Newest
  60.  
  61. ;
  62. ; ExcludeFile [filename pattern]
  63. ;
  64. ; This statement is used to exclude certain file names when analyzing
  65. ; the file dates within an archive.  For example, a FILE_ID.DIZ may have
  66. ; been added much later than the original contents of the archive.  Since
  67. ; TrueDate may see this as the "newest" dated file in the archive, the
  68. ; date on this file would be used for the archive itself.  ExcludeFile
  69. ; overcomes this problem.
  70. ;
  71. ; You can list as many ExcludeFile statements as you like (one file name
  72. ; per line).  Wildcard '*' and '?' matching is allowed.  Case is NOT
  73. ; significant.
  74. ;
  75.  
  76. ExcludeFile     FILE_ID.DIZ
  77. ExcludeFile     {SDA.ID}
  78. ExcludeFile     SDN.ID
  79.  
  80.  
  81. ;
  82. ; Miscellaneous Definitions
  83. ; -------------------------
  84. ;
  85.  
  86. NoQuiet                                 ; [No]Quiet - Prevents output to
  87.                                         ; standard out (the screen, normally)
  88.                                         ; except for the logo.
  89. ;
  90. ; Archiver Information
  91. ;
  92. ; The archivers used to analyze compressed files may be defined below.  Each
  93. ; Archiver Definition must be defined in the following order:
  94. ;
  95. ;   ArchiveExtension
  96. ;   ArchiveList
  97. ;   ArchiveListFormat
  98. ;
  99. ; All keywords must be kept together in the above order, with the last
  100. ; keyword being ArchiveListFormat.
  101. ;
  102. ; The following macros can be used in the definitions.  All macros are
  103. ; CASE-SENSATIVE!
  104. ;
  105. ; ArchiveList macros:
  106. ;
  107. ;   %a           : Translates to the name of the archive.
  108. ;
  109. ; ArchiveListFormat macros:
  110. ;
  111. ;   MMM          : 3 letter name of month (Jan, Feb, etc.)
  112. ;   mm           : 2 digit number of the month (1-12)
  113. ;   yy           : Last two digits of the year (00-99)
  114. ;   dd           : Day of the month (1-31)
  115. ;   hh           : Hours in 24 hour format (0-23)
  116. ;   HH           : Hours in 12 hour format (0-12)
  117. ;   ii           : Minutes (0-59)
  118. ;   ss           : Seconds (0-59)
  119. ;   X            : am/pm indicator (A or P)
  120. ;   zzz..zz      : uncompressed size of the file (must have at least 5 z's)
  121. ;   ffffffffffff : name of the file in the archive (must have at least 12 f's)
  122. ;
  123. ; Please note:  Do not use full path names on the archives.  ArcAnal will
  124. ;               search the current directory or PATH variable to find
  125. ;               the archiving program.
  126. ;
  127.  
  128. ArchiveExtension    ZIP
  129. ArchiveList         "unzip -v %a"
  130. ArchiveListFormat   "zzzzzzz                       mm-dd-yy  hh:ii             ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
  131.  
  132. ;ArchiveExtension    ZIP
  133. ;ArchiveList         "pkzip -v %a"
  134. ;ArchiveListFormat   "zzzzzzz                       mm-dd-yy  hh:ii                ffffffffffff"
  135.  
  136. ArchiveExtension    SDN
  137. ArchiveList         "unarj l %a"
  138. ArchiveListFormat   "ffffffffffff zzzzzzzzzz                  yy-mm-dd hh:ii:ss"
  139.  
  140. ArchiveExtension    ARJ
  141. ArchiveList         "unarj l %a"
  142. ArchiveListFormat   "ffffffffffff zzzzzzzzzz                  yy-mm-dd hh:ii:ss"
  143.  
  144. ArchiveExtension    ARC
  145. ArchiveList         "arc v %a"
  146. ArchiveListFormat   "ffffffffffff       zzzzzzzz                            dd MMM yy  HH:iiX"
  147.  
  148. ArchiveExtension    LZH
  149. ArchiveList         "lh /o v %a"
  150. ArchiveListFormat   "  zzzzzzzz                yy-mm-dd hh:ii:ss                    ffffffffffff"
  151.  
  152. ArchiveExtension    ZOO
  153. ArchiveList         "zoo -list %a"
  154. ArchiveListFormat   "zzzzzzzz                dd MMM yy hh:ii:ss        ffffffffffff"
  155.