home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / new / comm / bbs / eazybbs / c / nuucplist.one < prev    next >
AmigaDOS Script File  |  1994-09-14  |  3KB  |  62 lines

  1. .KEY onedir/A
  2. .BRA {
  3. .KET }
  4.  
  5. ; We use "NewList" (nl) to list directory contents.
  6. ; NewList is a highly configurable, very cool and freely distributable
  7. ; directory-lister by Phil Dietz.  (the guy with the funny manuals ;-)
  8. ;
  9. ; The alias "newlistarea1" shows all available files, "newlistarea2"
  10. ; new files of the last 10 days, and finally "newlistarea3" shows new
  11. ; files of the last 24 hours.
  12.  
  13. ;alias newlistarea1 nl -h -I -n -Z -o -s           -R -B -t -F "%10s  %d  %-30n %N" -D "%2d-%.3M-%02y" []
  14. ;alias newlistarea2 nl -h -I -n -Z -o -sd -r -N 10 -R -B -t -F "%10s  %d  %-30n %N" -D "%2d-%.3M-%02y" []
  15. ;alias newlistarea3 nl -h -I -n -Z -o -sd -r -N 1  -R -B -t -F "%10s  %d  %-30n %N" -D "%2d-%.3M-%02y" []
  16.  
  17. alias newlistarea1 nl -o -ulhItZB -s           -F "%10s  %d  %-30n %N" -D "%2d-%.3M-%02y" []
  18. alias newlistarea2 nl -o -ulhItZB -sd -r -N 10 -F "%10s  %d  %-30n %N" -D "%2d-%.3M-%02y" []
  19. alias newlistarea3 nl -o -ulhItZB -sd -r -N 1  -F "%10s  %d  %-30n %N" -D "%2d-%.3M-%02y" []
  20. alias newlistarea4 nl -o -hItZB   -sd -P -@    -F "%-45n %7v %d %N"    -D "%2d.%02m.%02y" []
  21.  
  22. ; The pattern excludes all files beginning with "#" (hashmark),
  23. ; and all files named "|LIST|", "|NORMAL|" or "|OWNER|".
  24.  
  25. newlistarea1 "MB_FILES:{onedir}/~('##?|'|LIST'||'|NORMAL'||'|OWNER'|)" >t:anon-list.index.tmp
  26. newlistarea2 "MB_FILES:{onedir}/~('##?|'|LIST'||'|NORMAL'||'|OWNER'|)" >t:anon-list.recent.tmp
  27. newlistarea3 "MB_FILES:{onedir}/~('##?|'|LIST'||'|NORMAL'||'|OWNER'|)" >t:anon-list.1day.tmp
  28. newlistarea4 "MB_FILES:{onedir}/~('##?|'|LIST'||'|NORMAL'||'|OWNER'|)" >t:anon-list.index_xp.tmp
  29.  
  30. Echo NOLINE >t:anon-list.empty
  31.  
  32. MB:C/Cmp t:anon-list.empty t:anon-list.index.tmp >NIL:
  33. If WARN
  34.     Echo "Directory of *"MB_FILES:{onedir}*" on `Date`" >>t:anon-list.index
  35.     Type t:anon-list.index.tmp    >>t:anon-list.index
  36.     Echo "*N*N" NOLINE >>t:anon-list.index
  37. EndIf
  38.  
  39. MB:C/Cmp t:anon-list.empty t:anon-list.recent.tmp >NIL:
  40. If WARN
  41.     Echo "Directory of *"MB_FILES:{onedir}*" on `Date`" >>t:anon-list.recent
  42.     Type t:anon-list.recent.tmp   >>t:anon-list.recent
  43.     Echo "*N*N" NOLINE >>t:anon-list.recent
  44. EndIf
  45.  
  46. MB:C/Cmp t:anon-list.empty t:anon-list.1day.tmp >NIL:
  47. If WARN
  48.     Echo "Directory of *"MB_FILES:{onedir}*" on `Date`" >>t:anon-list.1day
  49.     Type t:anon-list.1day.tmp     >>t:anon-list.1day
  50.     Echo "*N*N" NOLINE >>t:anon-list.1day
  51. EndIf
  52.  
  53. MB:C/Cmp t:anon-list.empty t:anon-list.index_xp.tmp >NIL:
  54. If WARN
  55.     Echo "Directory of *"MB_FILES:{onedir}*" on `Date`" >>t:anon-list.index_xp
  56.     Type t:anon-list.index_xp.tmp >>t:anon-list.index_xp
  57.     Echo "*N*N" NOLINE >>t:anon-list.index_xp
  58. EndIf
  59.  
  60. Delete t:anon-list.index.tmp t:anon-list.recent.tmp t:anon-list.1day.tmp t:anon-list.index_xp.tmp t:anon-list.empty QUIET
  61.  
  62.