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