home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / dwnsrt60.zip / DOWNSORT.CFG < prev    next >
Text File  |  1994-08-28  |  25KB  |  463 lines

  1. ;
  2. ;      ██▐███   █▐███  ██   ██ ██▐███ ██▐████  █▐███  ██▐███  ██▐████
  3. ;      ██   ██ ██   ██ ██   ██ ██  ██ ██      ██   ██ ██   ██   ▐██
  4. ;      ██   ██ ██   ██ ██ █ ██ ██  ██ ██▐████ ██   ██ ██▐███    ▐██
  5. ;      ██   ██ ██   ██ ██ █ ██ ██  ██      ██ ██   ██ ██ █      ▐██
  6. ;      ██▐███   █▐███   █▐███  ██  ██ ██▐████  █▐███  ██  ██    ▐██
  7. ;                                                                  (font 2)
  8. ;
  9. ;
  10. ; ▄▀▀▀▄ ▄▀▀▀▄ █▄  █ █▀▀▀▀ ▀█▀ ▄▀▀▀▄ █   █ █▀▀▀▄ ▄▀▀▀▄ ▀▀█▀▀ ▀█▀ ▄▀▀▀▄ █▄  █
  11. ; █     █   █ █▀█▄█ █▄▄    █  █  ▄▄ █   █ █▄▄▄▀ █▄▄▄█   █    █  █   █ █ ▀▄█
  12. ; ▀▄▄▄▀ ▀▄▄▄▀ █  ▀█ █     ▄█▄ ▀▄▄▄▀ ▀▄▄▄▀ █ ▀▄▄ █   █   █   ▄█▄ ▀▄▄▄▀ █   █
  13. ;                                                                  (font 1)
  14. ;
  15. ;
  16. ;                   █▀▀▀▀▀▀   █     █       █▀▀▀▀▀▀
  17. ;                   █▄▄▄▄▄▄   █▄    █▄      █▄▄▄▄▄▄
  18. ;                   ██        ██    ██      ██
  19. ;                   ██        ██    ██▄▄▄▄▄ ██▄▄▄▄▄
  20. ;                                                                  (font 3)
  21. ;                                            (font 4 is reverse video of 3)
  22. ;
  23. ;  ┌──────────────────────────────────────────────────────────────────────┐
  24. ;  │       Sample Configuration File for DOWNSORT by Rob Hamerling        │
  25. ;  └──────────────────────────────────────────────────────────────────────┘
  26. ;
  27. ;  Downsort is designed to make many lists in almost any combination
  28. ;  in a single run (with privilege, key/lock and areagroup selections).
  29. ;
  30. ;  Downsort can be invoked with a commandline parameter specifying another
  31. ;  than the default configuration filename, for example:
  32. ;
  33. ;         DOWNSORT @SPECIAL.CFG
  34. ;
  35. ;  (the '@' prefix denotes that a configuration filespec is following)
  36. ;
  37. ;
  38. ;  Rules for parameter specifications in a configuration file:
  39. ;  ===========================================================
  40. ;   - Leading blanks and empty lines are skipped.
  41. ;   - Lines with '%', '*' or ';' as first non-blank character are
  42. ;     considered to contain comments only and are skipped.
  43. ;   - Lines with a valid keyword but without any parameters, are also
  44. ;     considered to be comment lines and are skipped.
  45. ;   - Comments on parameter specification lines are not allowed.
  46. ;   - All parameters for a specific keyword should be on a single line.
  47. ;   - Of mutually exclusive values only the last will take effect.
  48. ;   - An asterisk (*) as parametervalue denotes default-value.
  49. ;   - Invalid or not-recognised parameters may be ignored without notice.
  50. ;
  51. ;  ───────────────────────────────────────────────────────────────────────
  52. ;  First the specifications for the data collection phase
  53. ;  ───────────────────────────────────────────────────────────────────────
  54. ;
  55. ; AreaDat:     Complete file-specification of your 'AREA.DAT' file.
  56. ; -------      AREA.DAT is built by MAXIMUS' SILT(P) with -a or -x option.
  57. ;              The path is normally specified in MAX.CTL with the option
  58. ;              AreaDat in Session Section. With the AreaDat you may
  59. ;              specify any file that has the SILT(P)-format.
  60.  
  61. ; AreaDat      area.dat
  62.   AreaDat      g:\lody\max\area.dat
  63.  
  64. ; AreaGroup    Defines the logical name of a group of areas for a list.
  65. ; ---------    AreaINclude and or areaEXclude statements following this
  66. ; 6.0          AreaGroup statement define the collection of area's for this
  67. ; 6.0          group (see AreaINclude and areaEXclude keywords).
  68. ; 6.0          A new AreaGroup closes the previous.
  69. ; 6.0          During data collection only required areas are processed.
  70. ; 6.0          Some directions on the use of AreaGroups:
  71. ; 6.0          - The groups are independent: areas may be member of more
  72. ; 6.0            than one group, other areas may not be in any group.
  73. ; 6.0          - Groups without any areaIN/EXcludes will include all areas.
  74. ; 6.0          - If at least one list doesn't specify an areagroup file info
  75. ; 6.0            of all area's is collected (but always listed).
  76. ; 6.0          - The examples give you just an idea how to handle groups,
  77. ; 6.0            the doc-file gives you more details.
  78.  
  79. ; AreaINclude  Select areas to be INCLUDED in the group.
  80. ; AreaEXclude  Select areas to be EXCLUDED from the group.
  81. ; -----------  Normally (by default) ALL area's will be included,
  82. ;              unless you use one or both of these keywords.
  83. ;              Specify 1..8 character strings to indicate which areas have
  84. ;              to be INcluded or EXcluded explicitly. The strings are used
  85. ;              as PREFIX: all areanames starting with the same characters
  86. ;              will be IN- or EXcluded. The selection is case-insensitive.
  87. ;              You would normally use one of both keywords. However they
  88. ;              can be used simultaneously. But since the strings are used
  89. ;              as prefix this gives only meaningful results if the EXclude
  90. ;              strings are more selective than the INclude strings:
  91. ;              EXclude applies in that case only to INcluded area's!
  92. ;              You may specify multiple strings on a line (separate the
  93. ;              strings with one or more blanks), and as many lines as
  94. ;              needed.
  95. ;              Example: Suppose you have fileareas named HC000 to HC999.
  96. ;              Then the group HOBBES below would select the files from
  97. ;              areas HC000 to HC039, but NOT those ending with a '9'.
  98.  
  99.   AreaGroup  Locked
  100.      AreaINclude  2
  101. ; AreaGroup  Fernwood
  102. ;    AreaINclude  FA FB FC FD FE FF FG F1 F2 F3 F4 F5 F6 F7 F8 F9
  103. ; AreaGroup  DOS
  104. ;    AreaEXclude  HC F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF FG
  105. ; AreaGroup  OS2
  106. ;    AreaINclude  O I
  107. ; AreaGroup  HOBBES
  108. ;    AreaINclude  hc00  hc01  hc02  hc03
  109. ;    AreaEXclude  hc009 hc019 hc029 hc039
  110. ; AreaGroup  SDS
  111. ;    AreaINclude  SDS
  112. ; AreaGroup  NONSDS
  113. ;    AreaEXclude  SDS
  114.  
  115.  
  116. ; FileEXclude  Select FILES to be excluded from ALL(!) lists.
  117. ; -----------  By default all files in all (selected) areas will be
  118. ;              consifdered for inclusion, unless you use this keyword.
  119. ;              Specify 8.3 filename.ext type of strings, wildcards are
  120. ;              allowed and honored, don't use quotes.
  121. ;              The selection is case-insensitive and is independent of area.
  122. ;              You may specify multiple filespecs on a line. Separate the
  123. ;              strings with one or more blanks. Use as many lines as needed.
  124.  
  125.   FileExclude  FILES.*    *.BAK        SYSTEM*.?BS   DIR.?BS
  126.   FileExclude  00INDEX.*  WILDCAT.TXT  DESCRIPT.ION  TEST
  127.  
  128. ;  ───────────────────────────────────────────────────────────────────────
  129. ;  Above parameters involve the data collection (selection) process,
  130. ;  below follow the report specifications.
  131. ;  Firstly the global parameters that apply (mostly) to all reports:
  132. ;  ───────────────────────────────────────────────────────────────────────
  133.  
  134. ; AreaOrder    Order in which areas have to be sorted.
  135. ;              Selection can be: K[eep]    - Keep order of AREA.DAT
  136. ;                                A[lpha]   - Alphabetic order of areaname
  137. ;                                G[roup]   - Group order
  138. ;                                I[nclude] - order of areaINclude (above)
  139. ;              Specify one of these orders (first letter is sufficient).
  140. ;              'Group'-order is a special sorting sequence for area names
  141. ;              consisting of a group of letters followed by digits.
  142. ;              See the documentation for details.
  143. ;              Default: Group-order (also with invalid specifications)
  144.  
  145.   AreaOrder    Group
  146.  
  147. ;  Title:      Short string that will be displayed in BLOCK-characters
  148. ;  -----       on top of all FileLists (except BBS-list).
  149. ;              Not more than 20 characters are accepted as input.
  150. ;              If Title isn't specified, it will be DOWNSORT by default.
  151. ;              The following characters are supported in block-fonts:
  152. ;                  UPPER case  A..Z
  153. ;                  LOWER case  a..z  (but will be presented in UPPER case)
  154. ;                  Digits 0..9
  155. ;                  _  *  |  .  [  ]  (  )  /  \  -  and space
  156. ;              Not-supported characters are displayed as blank.
  157. ;              The '~'-character (tilde) represents a full width space,
  158. ;              the '`'-character (reverse quote) a half width space.
  159.  
  160.   Title        `DownSort
  161.  
  162. ;  PreTitle    Lines to be displayed immediately before the BLOCK-title.
  163. ;  --------    The lines will be copied as is. However leading blanks will
  164. ;              be skipped, no wrapping or truncation will be applied for
  165. ;              'long' lines, '~' (tilde) characters are translated to
  166. ;              blanks. You may specify 20 PreTitle lines, excess is
  167. ;              ignored. Empty PreTitle lines are ignored and not counted.
  168. ;              There is no default PreTitle.
  169. ;              To create empty lines in your header specify a PreTitle
  170. ;              with a tilde.
  171.  
  172.   PreTitle     ~
  173.   PreTitle     ~~~~~~~<═════:═════ p r e - t i t l e ═════:═════>
  174.   PreTitle     ~
  175.  
  176. ;  SubTitle    Lines to be displayed immediately below the BLOCK-title.
  177. ;  --------    Maximum 20 SubTitles are accepted, and exactly the
  178. ;              same rules apply as for PreTitle.
  179. ;
  180.  
  181.   SubTitle     ~
  182.   SubTitle     ~~~~~~~<═════&═════ s u b - t i t l e ═════&═════>
  183.   SubTitle     ~  Overview of downloadable files on this magnificent Board
  184.   SubTitle     ~     Node number 9.999/99, modemspeeds: V.99/V.99bis
  185.   SubTitle     ~~~~~~~<═════════════════════════════════════════>
  186.   SubTitle     ~
  187.  
  188. ;  BottomLine  Lines to be displayed at the end of the filelist.
  189. ;  ----------  Maximum 20 BottomLines are accepted, and exactly the
  190. ;              same rules apply as for PreTitle and Subtitle.
  191. ;
  192.  
  193.   BottomLine   ~
  194.   BottomLine   ~~~~~~~<═══════ b o t t o m : t i t l e ═════════>
  195.   BottomLine   ~
  196.   BottomLine   ~~~~~~~<═══ How do you like DOWNSORT, folks? ════>
  197.   BottomLine   ~
  198.  
  199. ; DupNameSize  Indicates the number of characters of the fileNAME that are
  200. ; -----------  maximally to be compared to consider a name 'duplicate'.
  201. ; 6.0          Allows version numbers to be detected, for example:
  202. ; 6.0          with "DupNameSize 6" DWNSRT59.ZIP and DWNSRT60.ZIP will
  203. ; 6.0          appear as duplicates in the DupFileList report.
  204. ; 6.0          Default: 8  (full filename compare).
  205.  
  206.   DupNameSize  8
  207.  
  208. ; NonDupEXT    Suppress reporting as 'duplicate' if 2 files with equal
  209. ; ---------    filenames but unequal extensions are defined as 'pair'.
  210. ;              The example specification below has the effect that files of
  211. ;              any pair "xyz.SDA" and "xyz.SDN"  ("xyz": any filename) will
  212. ;              not be listed in DupFileList.
  213. ;               -  Files with equal filename AND equal extension will
  214. ;                  still be reported as duplicate even when the extension
  215. ;                  is one of a 'NonDupEXT' pair!
  216. ;               -  Multiple extensions must be specified in as many pairs
  217. ;                  as can be formed (3 extension 3 pairs; 4 ext. 6 pairs;
  218. ;                  etc, e.g: for Nodelists:  DAT EXT  DAT IDX  EXT IDX).
  219. ;              You may specify multiple extension-pairs on a line
  220. ;              (separate the extensions with blanks), and as many lines
  221. ;              as needed.
  222. ;              Default: no suppression
  223.  
  224.   NonDupEXT    SDN SDA
  225.  
  226. ; OrphanDesc   Description text of 'orphan' (file without entry in FILES.BBS)
  227. ; NotFoundDesc Description text of files without description in FILES.BBS.
  228. ; ------------ The description will replace the default hard-coded text.
  229. ;              Up to 45 characters may be specified.
  230. ;              The '~' (tilde) character will not be translated here!
  231.  
  232.   OrphanDesc   ~~~~~ !!!! Orphelin !!!! ~~~~~
  233.   NotFoundDesc ~~~ Ce fichier défie toute description!
  234.  
  235.  
  236. ; OfflineDesc  When a filespecification is found in FILES.BBS but not
  237. ; -----------  in the corresponding download directory, this text replaces
  238. ;              the filesize and date (right aligned).
  239. ;              Up to 14 characters are accepted.
  240.  
  241.   OfflineDesc  -- archived --
  242.  
  243. ; AVAstrip     You may wish to strip off AVATAR graphics characters from
  244. ; --------     the contents of your FILES.BBS files.
  245. ;              Specify 'No' to deactivate stripping (default is 'Yes').
  246. ;              ==> Works ONLY for COMMENT LINES in ALL- and IPF-lists, and
  247. ;              remember: comments are only listed with KEEPSEQ (no sort).
  248.  
  249.   AVAstrip     Yes
  250.  
  251. ; ──────────────────────────────────────────────────────────────────────
  252. ; Above were the parameters with a global effect: applicable to all
  253. ; lists or to the execution mode of DOWNSORT.
  254. ; Below follow list-specific parameters, which might override some of
  255. ; the settings of the global parameters.
  256. ; Keep this sequence: first global, then specific parameters!
  257. ; ──────────────────────────────────────────────────────────────────────
  258. ;
  259. ; xxxFileList:  Create a File lists of type 'xxx' (1 list per keyword)
  260. ;
  261. ; xxx ───┐      ┌─ Twit
  262. ;              ├─ Disgrace          ┌─ PathSpec of the output file
  263. ;   ┌── ORP     ├─ Limited           │
  264. ;   ┌── BBS     ├─ Normal            │
  265. ;   ┌── NEW     ├─ Worthy            │  ┌── Additional options for
  266. ;   ┌── ALL     ├─ Privil            │  │   each list individually:
  267. ;   ┌── GBL     ├─ Favored           │  │
  268. ;   ┌── DUP     ├─ Extra             │  │ -A     Alphabetic sort (filename)
  269. ;   ┌── IPF     ├─ Clerk             │  │ -Cn    Continuation-line indent
  270. ;   ┌── IP2     ├─ Assistsysop       │  │ -D     Date sort (descending)
  271. ;   ┌── OK      ├─ Sysop             │  │ -F#    Font for titles (0..4)
  272. ;   ┌── EMI     ├─ Hidden            │  │ -G     Group sort (areanames)
  273. ;   │           │                    │  │ -If    Imbed filespec
  274. ;   │           │                    │  │ -K     Keep FILES.BBS seq
  275. ;   │           │                    │  │ -L     Long line/list type
  276. ;   │           │  ┌── userkeys      │  │ -R     Remove 'not-found' entries
  277. ;   │           │  │   1..8          │  │ -Sg    Select AreaGroup
  278. ;   │           │  │   A..X          │  │ -T     Truncate file descript.
  279. ;   │           │  │                 │  │ -W     Wrap file descriptions
  280. ;   │           │  │                 │  │ -X     eXclude priv. in headers
  281. ;   │           │  │       ┌─────────┘  │ nnn[P] entries limit: number
  282. ;   │           │  │       │            │        (P=Days|Weeks|Months)
  283. ;                                   
  284. ;  ═══─═══════  ═/════ ════════  ════════════════════════════════
  285. ;  xxxFileList  p/keys PathSpec  Option-1 Option-2 . . . Option-n
  286. ;
  287. ;      A single privilege letter (or the complete word) can be specified.
  288. ;      The privilege indication may be followed by slash and a string of
  289. ;      'userkeys' may be specified. This mimics a Maximus user class and
  290. ;      will open the list for areas with the corresponding locks.
  291. ;      WARNING: Versions of Downsort before 5.9 included locked area's, but
  292. ;               now these area's will be skipped, unless all keys are
  293. ;               specified on the xxxFileList line!
  294. ;      For an explanation of 'locks' and 'keys' see the MAXIMUS docs.
  295. ;      If no privilege/key is specified, the default level is SYSOP with
  296. ;      no userkeys.
  297. ;
  298. ; 6.0  The default filename (DOWNSORT) for each list should be overwritten
  299. ; 6.0  with the second parameter on the xxxFileList line. Failing to do so
  300. ; 6.0  will result in a single outputfile that has overwritten all other
  301. ; 6.0  lists of this and previous runs of Downsort.
  302. ;
  303. ;  The following flags may be specified (in any sequence):
  304. ;     -A   Sort Alphabetically on filename
  305. ;     -D   Sort on Date/time of the files
  306. ;     -G   Sort on on area-Group name
  307. ;     -K   Keep sequence of files as they appear in FILES.BBS.
  308. ;          Note: not all sorts apply to all list types (but most do)
  309. ;
  310. ;     -Cn  Continuation Indentation of description: relative position
  311. ;          of description on second and following lines if WRAPPED
  312. ;          descriptions are used. 'n' will normally be the width of
  313. ;          a download counter field.
  314. ;          May be specified negative for left-indentation (e.d. -C-16)!
  315. ;
  316. ;     -F#  ListTitle font. Choose for 'n': 0, 1, 2, 3 or 4 (default is 3).
  317. ;          Valid numbers:   0 .. suppress generation of block title!
  318. ;                           1 .. Simple font             (5x6 pattern)
  319. ;                           2 .. Pseudo-Stencil Font     (7x10 pattern)
  320. ;                           3 .. ROBoComputer Font       (7x8 pattern)
  321. ;                           4 .. Reversed Video RoboComp (7x8 pattern)
  322. ;          See some samples of the fonts in the top of this file.
  323. ; 6.0      Font 3 is hard coded in headers with only short areanames.
  324. ;
  325. ;     -If  Imbed userfile ('f' is file-spec) immediately following the
  326. ;          block-title. The contents of the file is included without any
  327. ;          translation, so beware of special characters and effects like
  328. ;          formatting (word-wrap) especially in the IPF- and IP2-list!
  329. ;          NOTEs: - does not apply to DUP- and ORP-FileLists
  330. ;                 - BBSFileLists imbed always DOWNSORT.HDR and DOWNSORT.TRL
  331. ;
  332. ;     -L   Long list format for some selected list types:
  333. ;           - OK-file: explicit filenames in stead of wildcards (PATH\*.*)
  334. ;           - FILFilePath: see (almost) at the end of this file.
  335. ;
  336. ; 6.0 -R   Remove 'offline' file-entries from FILES.BBS only!
  337. ; 6.0      Other lists will have these files reported as 'offline', but
  338. ; 6.0      next time you run Downsort they will have disappeared of course.
  339. ; 6.0      So you have one chance to recover these entries (manually!).
  340. ;
  341. ; 6.0 -Sg  Select AreaGroup for list ('g' is a name defined with AreaGroup
  342. ; 6.0      keyword). The list will only contain areas of the specified group.
  343. ; 6.0      If no selection is specified, all areas within privilege will be
  344. ; 6.0      included.
  345. ;
  346. ;     -T   Causes Truncation of long descriptions (to about 50 characters)
  347. ;          so that each file-entry takes not more than a single line.
  348. ;     -W   Causes Wrapping of long descriptions: the report will contain
  349. ;          as many lines as needed for the complete file description.
  350. ;
  351. ;     -X   eXclude privilege indications the list-headers.
  352. ;
  353. ;   nnn[P] Limit the number of file-entries to a maximum of 'nnn'.
  354. ;          If followed by Period-indicator ('D', 'W' or 'M') the list is
  355. ;          limited not by number, but by file-AGE in Days, Weeks or Months.
  356. ;          NOTEs: - the Period-letter does not apply to IPF-lists
  357. ;                 - 'nnn' denotes maximum number of files on a VIEW-page.
  358. ;                 - ALL-lists can only be limited by period (not number).
  359.  
  360.   AllFileList  */*   list\Allfiles.psq     -a -W              -IDownsort.Inc
  361. ; AllFileList  */*  list\Allfiles.hob      -k -W   -sHOBBES   -IDownsort.Inc
  362. ; AllFileList  */*  list\Allfiles.fw   -f1 -a -W   -sFernwood -IDownsort.Inc
  363. ; AllFileList  */*  list\Allfiles.dos      -k -W   -sDOS      -IDownsort.Inc
  364. ; AllFileList  */2  list\Allfile2.psq   2m -a -w -f4 -x -c
  365.   BBSFileList  */*  list\Bulletin.psq   3w -d -w -x
  366. ; GblFileList  */*  list\GblFiles.psq      -a -w     -c6      -IDownsort.Inc
  367. ; IpfFileList  */*  list\Allfiles.IPF  200 -a
  368.   Ip2FileList  */*  list\Allfiles.IP2  200 -k    -f1 -sOS2
  369.   NewFileList  */2  list\Newfile2.psq   2m -g -w -f2 -x
  370. ; EmiFileList  */*  list\Newfiles.emi  15d -a -w              -IDownsort.inc
  371.  
  372.   DupFileList  */*  list\Dupfiles.psq
  373. ; DupFileList  */*  list\Dupfiles.grp      -g
  374.   OKFileList   */*  list\OKFILE.psq        -g                 -IDownsort.Mag
  375. ; OKFileList   */*  list\OKFILE.FWa        -a -l
  376.   OrpFileList  */*  list\Orphans.psq       -g
  377.  
  378. ;  NOTE: The IPF-list has the format of an INPUT-file for the
  379. ;        Information Presentation Facility Compiler (IPFC).
  380. ;        It should be compiled as follows:
  381. ;             IPFC  Allfiles.IP2  /INF
  382. ;        This will produce a file called Allfiles.INF, which is ready
  383. ;        to be viewed with the command:
  384. ;             VIEW  Allfiles
  385. ;        The IPFC program is not distributed with the DOWNSORT package!
  386.  
  387. ; ──────────────────────────────────────────────────────────────────────
  388. ;  Below follow the specifications for rebuilding FILES.BBS
  389. ; ──────────────────────────────────────────────────────────────────────
  390. ; FILFilePath  - First parameter is [optional] specification of
  391. ; -----------    destination directory of newly generated 'FILES.BBS' files.
  392. ;                Use the format:  drive:\path\
  393. ;                The output-files will be called "areaname.BBS".
  394. ;                If not specified the MAXIMUS path specification will be
  395. ;                used (ListFile parameter if used in Maximus' AREA.CTL
  396. ;                otherwise the Download directory).
  397. ;              - Many but not all flags as defined for the other lists
  398. ;                apply to the FILES.BBS-output of Downsort, for example:
  399. ;                 - TITLE is not applicable to FILES.BBS
  400. ;                 - file-description will be kept on a single line, not
  401. ;                   wrapped or truncated, and up to about 2000 characters.
  402. ;                 - Entries can be sorted, but then you will loose your
  403. ;                   comments: -K (Keep Sequence and Comments) is default.
  404. ;                 - -L (LONG) means here: include file size and file date,
  405. ;                    (which should be used only once per FILES.BBS!).
  406. ;                 - Avatar codes will always remain unchanged.
  407. ; 6.0             - -R will REMOVE file entries in FILES.BBS if the file
  408. ; 6.0               it describes could not be located by Downsort.
  409. ; 6.0          - When using -Sg and multiple FILFilePaths, beware not to
  410. ; 6.0            overwrite previous output (e.g. define and use mutually
  411. ; 6.0            exclusive groups, such as the SDS and NONSDS example above).
  412. ; 6.0          ┌─── NOTE: Privilege specification not used anymore!
  413. ;              
  414.  
  415. ;  FILFilePath  list1  -k                 -idownsort.inc
  416.    FILFilePath  list2  -a                 -idownsort.inc
  417.  
  418. ; ──────────────────────────────────────────────────────────────────────
  419. ;             ---------  E X P E R I M E N T A L  ----------
  420. ; ──────────────────────────────────────────────────────────────────────
  421. ; USRFileList   Builds a straight forward list of 'free format' lines
  422. ; -----------   with file information.
  423. ; 6.0           It is designed to build a batch-file for file maintenance.
  424. ; 6.0           The format of each line is a variable string to be specified
  425. ; 6.0           with the keyword 'USRmodel'. The format-string may contain
  426. ; 6.0           a number of symbolic variables that will be replaced by
  427. ; 6.0           the actual value of file- or area-information as follows:
  428. ; 6.0            %2 - duplicate file flag: '2' if duplicate file, '1' if not.
  429. ; 6.0            %A - Areaname
  430. ; 6.0            %C - file Creation date (fixed 8 characters)
  431. ; 6.0            %D - most recent of file lastWrite or Creation date
  432. ; 6.0            %F - Filename.ext
  433. ; 6.0            %H - File-age in days
  434. ; 6.0            %P - Path specification of the file's download directory
  435. ; 6.0            %S - file Size
  436. ; 6.0            %W - file lastWrite date (fixed 8 characters)
  437. ; 6.0           Notes: - unknown symbolic variables are copied asis.
  438. ; 6.0                  - specify a double percent-sign if a single is needed.
  439. ; 6.0
  440. ; 6.0           A number of example statements as suggestions:
  441. ; 6.0           - The first example builds a batch file (REXX) to move
  442. ; 6.0             Fernwood files from their original directory to a directory
  443. ; 6.0             with areaname as the subdirectory-name in G:\Fernwood\.
  444. ; 6.0           - The second sample will erase files older than 1 year.
  445. ; 6.0           - The third will erase ALL duplicate files, so needs at least
  446. ; 6.0             some modification before you run it!
  447. ; 6.0           - The fourth USRmodel is the default and shows all symbolic
  448. ; 6.0             variables supported by Downsort for USRFileList.
  449. ; 6.0           NOTE: Only one single USRmodel-statement is supported yet
  450. ; 6.0                 (but multiple lists can be generated)!
  451.  
  452. ;  USRmodel    move '%P%F G:\Fernwood\%A\'
  453. ;  USRmodel    if %H > 365 then erase '%P%F'   /* filedate: %D */
  454. ;  USRmodel    if 2=%2 then erase '%P%F'
  455.    USRmodel    %%2=%2 %%A=%A %%C=%C %%D=%D %%F=%F %%H=%H %%P=%P %%S=%S %%W=%W
  456.  
  457.    USRFileList   */*  list\usrlist.cmd  -g    -idownsort.rex
  458.  
  459. ;  ------------------------------------------------------------------------
  460. ;
  461. ; End of sample Downsort.Cfg as provided with the orginal Downsort package.
  462. ;
  463.