Having unsuccessfully searched:
- the IBM VM Download library, 
- the IBMVM archives at: http://listserv.uark.edu/archives/ibmvm.html
  (which did refer to SFSL.VMARC but which appears to have gone missing), 
- and found google amazingly helpless, I turn to the good members of this 
list...

Before I go off and write a new exec, does anyone already have a 
well-crafted exec to erase an SFS directory, all it's files, all its 
sub-directories, and all their files?

Before beginning to write it. I'd envision syntax something like: 

cmd_name filepool:dirname.subdirname.and.so.on   (QUIET
or
cmd_name dirname.subdirname.and.so.on            (QUIET
both of those would require full specification down to the lowest 
directory and then erase back up to and including the top directory.  It 
could only work as long as there were no other subdirectories hung of any 
directory listed.

or
cmd_name filepool:dirname.*   (QUIET
or
cmd_name dirname.*            (QUIET
In this case, it would search our the lowest directory, and erase back up 
to and including the top directory.  A very powerful, useful, and scary 
command.  Caveat emptor!
 

If QUIET were not specified, it would issue a warning and prompt along the 
lines of:

   WARNING!
   n directories will be erased
   nn files will be erased
   Continue?  Reply: Yes, 1, No, or 0


It shouldn't be very hard to write, and it seems an obvious need.  So 
before re-inventing this particular wheel, does anyone already have their 
own "wheel" that they'd care to share?  We're fairly new to SFS, so 
someone else has probably already dealt with this and knows the trip-wire 
locations.

Mike Walter 
Hewitt Associates 
Any opinions expressed herein are mine alone and do not necessarily 
represent the opinions or policies of Hewitt Associates.



The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail. 


Reply via email to