HP3000-L Archives

June 2021, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stanfield, Randy (Carrollton, TX)" <[log in to unmask]>
Reply To:
Stanfield, Randy (Carrollton, TX)
Date:
Wed, 9 Jun 2021 20:17:03 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
External Email
I’ve heard that an updated version of this FILECNT command might be floating around. Would anyone have a copy they could forward.


  PARM dir=!hpcwd filter=100 entry=main
  #
  # This script traverses "dir" and counts the number of file/dir objects under
  # "dir". This counting is recursive for all directories under "dir".
  #  Syntax: filecnt dir-name [filter]
  #   "dir" must be in HFS syntax, so the SYS account is /SYS, wildcard allowed.
  #   "filter" causes this script to omit displaying directories containing less
  #            than "filter" objects.
  # Note: lots of unnecessary complexity is due to the fact that FINFO (and listf
  # too!) does not return the 'eof' for an account, group or directory. So we
  # use listfile for a horizontal cut at one level below the "dir" parm, and
  # then listfile again to traverse sub-dirs below that level.
  # Note: this is the "all script, no program" version of FILECNT.  FILECNT2
  #       runs a simple program for each recursive iteration to solve the pre-
  #       7.0 problem of a nesting limit of 30 deep.
  #
  # Author:  Jeff Vance, HP-CSY, June '02

  if "!entry" = "main" then
     setvar _fc_vers "A.01"
Randy Stanfield,  Infrastructure Architect
[Capture]
This email constitutes confidential and privileged subject matter. Unless you are the intended recipient, delete this email immediately and contact sender at the address above.

This message is not from a UTC.EDU address. Caution should be used in clicking links and downloading attachments from unknown senders or unexpected email.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2